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

10
LINES

< > BotCompany Repo | #1023757 // wordTokReplacerRuleOnStarVars - finds variables marked with "*"

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

Transpiled version (4180L) is out of date.

static WordTokReplacer wordTokReplacerRuleOnStarVars(S sentence, LS replaced_multi) {
  LS tok = javaTokWithBrackets(sentence);
  Set<S> vars = ciSet();
  tok_findStarVars(tok, vars);
  ret wordTokReplacerRule(join(tok), vars, replaced_multi);
}

static WordTokReplacer wordTokReplacerRuleOnStarVars(S sentence, S replaced) {
  ret wordTokReplacerRuleOnStarVars(sentence, ll(replaced));
}

Author comment

Began life as a copy of #1023514

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: #1023757
Snippet name: wordTokReplacerRuleOnStarVars - finds variables marked with "*"
Eternal ID of this version: #1023757/5
Text MD5: 8e7bc1f4b3c7d2d48e876cbdc6a0a0cb
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 19:01:11
Source code size: 399 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 275
Version history: 4 change(s)
Referenced in: [show references]