Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1014429 // codeTokensAre

JavaX fragment (include)

static bool codeTokensAre(L<S> tok, S... tokens) {
  int n = l(tokens);
  if (lCodeTokens(tok) != n) false;
  for i to n:
    if (!eq(tok.get(i*2+1), tokens[i])) false;
  true;
}

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: 334 / 382
Referenced in: [show references]