// i is a code-token (odd index) // return value is also a code token, or end of list static int tokFindNextLine(List<String> tok, int i) { while (i < tok.size() && tok.get(i-1).indexOf('\n') < 0) i += 2; return i; }
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: | #1003027 |
| Snippet name: | tokFindNextLine |
| Eternal ID of this version: | #1003027/1 |
| Text MD5: | 39d0e9c91ecada25dd3d4a4dde4a0613 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-04-21 16:40:25 |
| Source code size: | 230 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 809 / 803 |
| Referenced in: | [show references] |