Libraryless. Click here for Pure Java version (2589L/16K).
1 | static LLS positionalTokenIndex_byTokenAtAnyIndex(PositionalTokenIndex idx, S token) { |
2 | int n = l(idx.sorts); |
3 | new LLS out; |
4 | for i to n: |
5 | addAll(out, idx.byToken(i, token)); |
6 | ret out; |
7 | } |
Began life as a copy of #1025694
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025718 |
Snippet name: | positionalTokenIndex_byTokenAtAnyIndex |
Eternal ID of this version: | #1025718/1 |
Text MD5: | 5c9989d76fefa647e51293970a1bc562 |
Transpilation MD5: | d2fafbb86efdd45620b9ec0e59cd2eb8 |
Author: | stefan |
Category: | javax / agi.blue |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-14 21:37:52 |
Source code size: | 198 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 170 / 246 |
Referenced in: | [show references] |