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

5
LINES

< > BotCompany Repo | #1033751 // tok_unifyKeywords

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

Libraryless. Click here for Pure Java version (5332L/30K).

svoid tok_unifyKeywords(LS tok, Cl<S> keywords, S replacement) {
  for (kw : keywords)
    if (!eq(kw, replacement))
      jreplace(tok, kw, replacement);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033751
Snippet name: tok_unifyKeywords
Eternal ID of this version: #1033751/2
Text MD5: 51eeff86b4924a85ec08d0ee27d0ea01
Transpilation MD5: 8903ce0082c240872fca5fc8d814b6b1
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-01 21:45:48
Source code size: 162 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 145 / 201
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)