1 | // i is a code-token (odd index) |
2 | // return value is also a code token, or end of list |
3 | static int tokFindNextLine(List<String> tok, int i) {
|
4 | while (i < tok.size() && tok.get(i-1).indexOf('\n') < 0)
|
5 | i += 2; |
6 | return i; |
7 | } |
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: | 812 / 805 |
| Referenced in: | [show references] |