1 | static IntRange charRangeToTokenRange(L<S> tok, IntRange r) { |
2 | ret r == null ? null : new IntRange( |
3 | charToTokenIndex_left(tok, r.start), |
4 | charToTokenIndex_right(tok, r.end)); |
5 | } |
Began life as a copy of #1008637
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1008644 |
Snippet name: | charRangeToTokenRange |
Eternal ID of this version: | #1008644/1 |
Text MD5: | 381536c87dee7437d708846dbe66b1ae |
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 17:27:55 |
Source code size: | 188 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 585 / 603 |
Referenced in: | [show references] |