1 | // modifies & denaturalizes the tokens (breaks connection with full text) |
2 | static L<TokenAndRange> ai_addDollarSignToCertainTokens_withRanges(L<TokenAndRange> tokens, final Set<S> set) {
|
3 | for (TokenAndRange t : tokens) |
4 | if (contains(set, t.token)) |
5 | t.token = stringToDollarVar1(t.token); |
6 | ret tokens; |
7 | } |
Began life as a copy of #1021207
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021208 |
| Snippet name: | ai_addDollarSignToCertainTokens_withRanges |
| Eternal ID of this version: | #1021208/3 |
| Text MD5: | f979a43b2df8c5805b673bc7d5720c0b |
| Author: | stefan |
| Category: | javax / parsing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-09 16:17:37 |
| Source code size: | 317 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 506 / 550 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |