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

7
LINES

< > BotCompany Repo | #1023773 // wordTokReplacerRuleWithSecondInOnStarVars - finds variables marked with "*"

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

Libraryless. Click here for Pure Java version (4247L/26K).

1  
static WordTokReplacer wordTokReplacerRuleWithSecondInOnStarVars(S in, S secondIn, LS replaced_multi) {
2  
  LS tok = javaTokWithBrackets(in), tokSecond = javaTokWithBrackets(secondIn);
3  
  Set<S> vars = ciSet();
4  
  tok_findStarVars(tok, vars);
5  
  tok_findStarVars(tokSecond, vars);
6  
  ret WordTokReplacerWithSecondIn(join(tok), vars, join(tokSecond), replaced_multi);
7  
}

Author comment

Began life as a copy of #1023757

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: #1023773
Snippet name: wordTokReplacerRuleWithSecondInOnStarVars - finds variables marked with "*"
Eternal ID of this version: #1023773/3
Text MD5: 21a22ba94f6bb938b0018f259b89960d
Transpilation MD5: 01bac301601893fb1e7c84a1baab240c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-08 22:57:44
Source code size: 368 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 193 / 276
Version history: 2 change(s)
Referenced in: [show references]