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

7
LINES

< > BotCompany Repo | #1025698 // positionalTokenIndex2_filter

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

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

1  
// use "*" as wildcard
2  
// may return null, and returned list is "volatile" (only valid as long as the index is not changed)
3  
static LLS positionalTokenIndex2_filter(PositionalTokenIndex2 idx, LS tok) {
4  
  PositionalTokenIndex idx2 = idx.indexForTokenCount(l(tok)/2);
5  
  if (idx2 == null) null;
6  
  ret positionalTokenIndex_filter(idx2, tok);
7  
}

Author comment

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: #1025698
Snippet name: positionalTokenIndex2_filter
Eternal ID of this version: #1025698/2
Text MD5: a1bf5ba4a24bf9b0bdafe57600923226
Transpilation MD5: 8e69b9170cd7a0717cb49cb25c307c47
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-13 23:34:38
Source code size: 344 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 215 / 309
Version history: 1 change(s)
Referenced in: [show references]