1 | static void tok_singleQuoteIdentifiersToStringConstants(L<S> tok) { |
2 | for (int i = 1; i < l(tok); i += 2) { |
3 | S t = tok.get(i); |
4 | if (isSingleQuoteIdentifier(t)) |
5 | tok.set(i, quote(substring(t, 1))); |
6 | } |
7 | } |
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: | 508 / 565 |
Referenced in: | [show references] |