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

7
LINES

< > BotCompany Repo | #1017271 // indicesOfAngleBracketVars

JavaX fragment (include)

static L<Int> indicesOfAngleBracketVars(L<S> tok) {
  new L<Int> l;
  for i over tok:
    if (isAngleBracketVar(tok.get(i)))
      l.add(i);
  ret l;
}

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: #1017271
Snippet name: indicesOfAngleBracketVars
Eternal ID of this version: #1017271/2
Text MD5: b7c3898b689117c3db21509562343ee7
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-15 22:50:48
Source code size: 157 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 347 / 372
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030966 - collectAngleBracketVars - drops the brackets