static Set<S> patternsTreatingFirstNTokensAsVariable(LLS inputs, int n) { Set<S> patterns = ciSet(); for (LS tok : inputs) patterns.add("*" + joinSubList(tok, indexOfCodeToken(n)-1)); ret patterns; }
Began life as a copy of #1028698
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028699 |
| Snippet name: | patternsTreatingFirstNTokensAsVariable |
| Eternal ID of this version: | #1028699/2 |
| Text MD5: | bf223f393dfd8a8873ca5457793fba79 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-05 21:36:00 |
| Source code size: | 216 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 370 / 411 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |