Transpiled version (2558L) is out of date.
// range should be CNC (i pointing at N, j at C after sublist) svoid surroundTokenRangeWithRoundBrackets(LS tok, IntRange r) { if (r != null) surroundTokenRangeWithRoundBrackets(tok, r.start, r.end); } svoid surroundTokenRangeWithRoundBrackets(LS tok, int i, int j) { tokAppend(tok, i & ~1, "("); tokPrepend(tok, incIfOdd(j-1), ")"); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027862 |
Snippet name: | surroundTokenRangeWithRoundBrackets |
Eternal ID of this version: | #1027862/9 |
Text MD5: | b1c5a4c752c1a7f3812f6c5df0725a50 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-16 12:57:13 |
Source code size: | 350 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 162 / 269 |
Version history: | 8 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |