// counts lines from 0 static int tokenLineNr(L<S> tok, int i) { ret toLines(join(tok.subList(0, i))).size(); }
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: | #1001488 |
Snippet name: | tokenLineNr |
Eternal ID of this version: | #1001488/1 |
Text MD5: | 571c08bceac8034e532f1720b4271922 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-19 17:18:55 |
Source code size: | 116 bytes / 4 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 585 / 820 |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |