Transpiled version (2495L) is out of date.
// returns index of opening < static int tok_leftScanTypeArgsOpt(LS tok, int i) { if (!eqGet(tok, i-2, ">")) ret i; int level = 0; while (i > 1) { S t = tok.get(i-2); if (eq(t, ">")) level++; else if (eq(t, "<")) { level--; if (level == 0) ret i-2; } i -= 2; } ret i; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027997 |
Snippet name: | tok_leftScanTypeArgsOpt |
Eternal ID of this version: | #1027997/4 |
Text MD5: | 1099f6c957f528fb08bbec7f5e54ee81 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-26 19:38:30 |
Source code size: | 327 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 200 / 317 |
Version history: | 3 change(s) |
Referenced in: | [show references] |