1 | static Set<S> patternsTreatingFirstNTokensAsVariable(LLS inputs, int n) { |
2 | Set<S> patterns = ciSet(); |
3 | for (LS tok : inputs) |
4 | patterns.add("*" + joinSubList(tok, indexOfCodeToken(n)-1)); |
5 | ret patterns; |
6 | } |
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: | 179 / 210 |
Version history: | 1 change(s) |
Referenced in: | [show references] |