Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1028820 // tok_groupAfterNTokens

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (2717L) is out of date.

1  
sS tok_groupAfterNTokens(S s, int n) {
2  
  ret tok_groupAfterNTokens(javaTokWithAllBrackets(s), n);
3  
}
4  
5  
sS tok_groupAfterNTokens(LS tok, int n) {
6  
  ret joinSubList(tok, 0, n*2+1) + curly(joinSubList(tok, n*2+1));
7  
}

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: #1028820
Snippet name: tok_groupAfterNTokens
Eternal ID of this version: #1028820/2
Text MD5: 8d301b6d729e996a9a04d4a3142e0068
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-09 12:56:06
Source code size: 217 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 166 / 249
Version history: 1 change(s)
Referenced in: [show references]