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

7
LINES

< > BotCompany Repo | #1008954 // tok_singleQuoteIdentifiersToStringConstants

JavaX fragment (include)

static void tok_singleQuoteIdentifiersToStringConstants(L<S> tok) {
  for (int i = 1; i < l(tok); i += 2) {
    S t = tok.get(i);
    if (isSingleQuoteIdentifier(t))
      tok.set(i, quote(substring(t, 1)));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008954
Snippet name: tok_singleQuoteIdentifiersToStringConstants
Eternal ID of this version: #1008954/1
Text MD5: 3c8e29e437550585d6d44e2eab206c5c
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-20 01:03:46
Source code size: 219 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 434 / 489
Referenced in: [show references]