static bool tok_hasClassRef(L<S> tok, S className) { for (int i = 1; i < l(tok); i += 2) if (eq(tok.get(i), className)) if (eq(get(tok, i-2), "ifclass")) i = smartIndexOf(tok, "endif", i); else true; false; }
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: | #1007936 |
Snippet name: | tok_hasClassRef |
Eternal ID of this version: | #1007936/4 |
Text MD5: | f629e479c280a6b866d580f07ee19cb9 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-17 18:56:57 |
Source code size: | 252 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 587 / 606 |
Version history: | 3 change(s) |
Referenced in: | [show references] |