Libraryless. Click here for Pure Java version (6912L/47K).
static LS matchingPatternsInJavaXSource(S src) { L<S> patterns = mL("JavaX patterns matching patterns"); final LS tok = javaTok(loadSnippetOrKeep(src)); ret uniquifyCI(concatMap(patterns, func(S pat) -> LS { map firstQuotedToken(jextractAll(pat, tok)) })); }
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: | 238 / 312 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025362 - matchingPatternsInJavaXSource_withFunctions - also takes a snippetID |