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

6
LINES

< > BotCompany Repo | #1026022 // clearTokens_addToReToksOrReTok

JavaX fragment (include)

1  
svoid clearTokens_addToReToksOrReTok(LS tok, int i, int j, L<IntRange> reToks) {
2  
  if (j <= i) ret;
3  
  clearAllTokens(tok, i, j);
4  
  if (reToks == null) reTok(tok, i, j);
5  
  else reToks.add(intRange(i, j));
6  
}

Author comment

Began life as a copy of #1026021

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: #1026022
Snippet name: clearTokens_addToReToksOrReTok
Eternal ID of this version: #1026022/1
Text MD5: f98a3e8fcdd7f50713c7fc7e71f8e89c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-08 00:56:44
Source code size: 210 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 206
Referenced in: [show references]