// # 123 => "#123" static void tok_directSnippetRefs(L<S> tok) { int i = -1; while ((i = jfind(tok, i+1, "#<int>", tokcondition { ret !eqOneOf(_get(tok, i-1), "include", "once"); })) >= 0) { S id = tok.get(i+2); clearTokens(tok, i+1, i+3); tok.set(i, quote("#" + id)); reTok(tok, i, i+3); } }
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: | #1022534 |
| Snippet name: | tok_directSnippetRefs |
| Eternal ID of this version: | #1022534/3 |
| Text MD5: | 56959f5e7a46f91fe803c6bf4b698e8f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-03 15:38:00 |
| Source code size: | 331 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 531 / 581 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |