// t3(condition, statement, index) static Triple<LS, LS, Int> tok_parseIfStatement(L<S> tok) { if (!eqGet(tok, 1, "if") || !eqGet(tok, 3, "(")) null; int clBr = findEndOfBracketPart(tok, 5)-1; int end = tok_findEndOfStatement(tok, clBr+2); ret t3(subList(tok, 6, clBr), subList(tok, clBr+1, end+1), end+1); }
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: | 341 / 377 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |