1 | static IntRange tokenRangeToCharRange(L<S> tok, IntRange r) { |
2 | ret r == null ? null : new IntRange( |
3 | tokenToCharIndex(tok, r.start), tokenToCharIndex(tok, r.end)); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008637 |
Snippet name: | tokenRangeToCharRange |
Eternal ID of this version: | #1008637/3 |
Text MD5: | 641197c34b01684dee6e818615541a82 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-26 16:37:06 |
Source code size: | 172 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 459 / 515 |
Version history: | 2 change(s) |
Referenced in: | [show references] |