static IntRange tokenRangeToCharRange(L<S> tok, IntRange r) { ret r == null ? null : new IntRange( tokenToCharIndex(tok, r.start), tokenToCharIndex(tok, r.end)); }
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: | 460 / 516 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008644 - charRangeToTokenRange #1008689 - codeTokenRangeToChars |