1 | scope wordTokC_noBrackets. |
2 | |
3 | static Map<S, LS> #cache = synchronizedMRUCache(defaultTokenizerCacheSize()); |
4 | |
5 | static L<S> wordTokC_noBrackets(S s) { |
6 | LS tok = cache.get(s); |
7 | if (tok == null) cache.put(s, tok = codeTokens(wordTok_noBrackets(s))); |
8 | ret tok; |
9 | } |
10 | |
11 | end scope |
Began life as a copy of #1023226
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: | #1023663 |
Snippet name: | wordTokC_noBrackets - codeTokens of wordTok_noBrackets (cached) |
Eternal ID of this version: | #1023663/1 |
Text MD5: | 4d2db5767586ad6479aaa704771b9217 |
Author: | stefan |
Category: | javax / tokenizing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-02 00:55:45 |
Source code size: | 278 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 197 / 259 |
Referenced in: | [show references] |