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

3
LINES

< > BotCompany Repo | #1028576 - lai_ codeTokens - all code tokens as ListAndIndex

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2599L/17K).

static L<ListAndIndex<S>> lai_codeTokens(LS tok) {
  ret map(codeTokenIndices(tok), i -> ListAndIndex(tok, i));
}

Author comment

Began life as a copy of #1028569

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028576
Snippet name: lai_ codeTokens - all code tokens as ListAndIndex
Eternal ID of this version: #1028576/3
Text MD5: 028e79d302b719349fe4a6b70e89f6be
Transpilation MD5: 5bd8e76e0667d45d9592866ecf37c9fd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-10 18:40:13
Source code size: 115 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 37 / 74
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028576 & http://1028576.tinybrain.de