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

8
LINES

< > BotCompany Repo | #1030737 // flexMatchAngleBracketVarsIC_iterate

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

Libraryless. Click here for Pure Java version (5343L/33K).

1  
svoid flexMatchAngleBracketVarsIC_iterate(S pat, S input, VF1<SS> onMatch) {
2  
  new LS vars;
3  
  S starsPat = angleBracketVarsToStars(pat, vars);
4  
  flexMatchIC_iterate(starsPat, input, voidfunc(Matches m) {
5  
    SS map = matchesToMapUsingVarList_ciMap(m, vars);
6  
    if (map != null) callF(onMatch, map);
7  
  });
8  
}

Author comment

Began life as a copy of #1023854

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030737
Snippet name: flexMatchAngleBracketVarsIC_iterate
Eternal ID of this version: #1030737/1
Text MD5: 855cfaa3a8d93ebe6a3c54c7dc32d625
Transpilation MD5: bf6a873a5bc69c9d74b75bd12afa7b5a
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 16:34:17
Source code size: 314 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 220
Referenced in: [show references]