1 | static LS tok_groupLastTokensToMatchPattern(LS tok, LS tokPat) { |
2 | ret concatLists( |
3 | subList(tok, 0, l(tokPat)-2), |
4 | ll(curly(joinSubList(tok, l(tokPat)-2, l(tok)-1)), |
5 | last(tok))); |
6 | } |
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: | #1022246 |
Snippet name: | tok_groupLastTokensToMatchPattern |
Eternal ID of this version: | #1022246/4 |
Text MD5: | 227414f9d0bdf64880cff9326998c751 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-11 18:17:53 |
Source code size: | 199 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 285 / 325 |
Version history: | 3 change(s) |
Referenced in: | [show references] |