1 | static bool codeTokensAre(L<S> tok, S... tokens) { |
2 | int n = l(tokens); |
3 | if (lCodeTokens(tok) != n) false; |
4 | for i to n: |
5 | if (!eq(tok.get(i*2+1), tokens[i])) false; |
6 | true; |
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: | #1014429 |
Snippet name: | codeTokensAre |
Eternal ID of this version: | #1014429/1 |
Text MD5: | 248578aaa4b7b851a82e2286cb85561c |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-21 17:58:57 |
Source code size: | 186 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 335 / 384 |
Referenced in: | [show references] |