1 | // t3(condition, statement, index) |
2 | static Triple<LS, LS, Int> tok_parseIfStatement(L<S> tok) { |
3 | if (!eqGet(tok, 1, "if") || !eqGet(tok, 3, "(")) null; |
4 | int clBr = findEndOfBracketPart(tok, 5)-1; |
5 | int end = tok_findEndOfStatement(tok, clBr+2); |
6 | ret t3(subList(tok, 6, clBr), subList(tok, clBr+1, end+1), end+1); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017565 |
Snippet name: | tok_parseIfStatement |
Eternal ID of this version: | #1017565/3 |
Text MD5: | f7d6d86266fef813597b24b3c9053b77 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-27 13:52:40 |
Source code size: | 322 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 340 / 377 |
Version history: | 2 change(s) |
Referenced in: | [show references] |