Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1008689 // codeTokenRangeToChars

JavaX fragment (include)

static IntRange codeTokenRangeToChars(L<S> tok, IntRange r) {
  ret tokenRangeToCharRange(tok, tokenRangeFromCodeTokens(r));
}

static L<IntRange> codeTokenRangeToChars(final L<S> tok, L<IntRange> r) {
  ret r == null ? null : map(r, func(IntRange r) { codeTokenRangeToChars(tok, r) });
}

Author comment

Began life as a copy of #1008637

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: #1008689
Snippet name: codeTokenRangeToChars
Eternal ID of this version: #1008689/3
Text MD5: b1e8ec173733107982cf704b9bfdf160
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-28 16:52:19
Source code size: 294 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 428 / 462
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)