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

7
LINES

< > BotCompany Repo | #1022513 // matchingPatternsInJavaXSource - also takes a snippetID

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

Libraryless. Click here for Pure Java version (6912L/47K).

1  
static LS matchingPatternsInJavaXSource(S src) {
2  
  L<S> patterns = mL("JavaX patterns matching patterns");
3  
  final LS tok = javaTok(loadSnippetOrKeep(src));
4  
  ret uniquifyCI(concatMap(patterns, func(S pat) -> LS {
5  
    map firstQuotedToken(jextractAll(pat, tok))
6  
  }));
7  
}

Author comment

Began life as a copy of #1014475

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022513
Snippet name: matchingPatternsInJavaXSource - also takes a snippetID
Eternal ID of this version: #1022513/4
Text MD5: 33b8d93a899f9563b5e0da6eb36e18f9
Transpilation MD5: 3657da21b5fcb2406617499069dce6bf
Author: stefan
Category: javax / code analysis
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-26 13:17:12
Source code size: 276 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 237 / 312
Version history: 3 change(s)
Referenced in: [show references]