Transpiled version (3488L) is out of date.
1 | // e.g. pcall myFunc(...) |
2 | svoid tok_pcallPrefix(LS tok) { |
3 | jreplace_dyn(tok, "pcall <id>(", (_tok, i) -> { |
4 | S fname = tok.get(i+2); |
5 | int iClosing = tok_findEndOfBracketPart(tok, i+4)-1; |
6 | tokAppend_reTok(tok, iClosing, ")"); |
7 | ret "pcallF(() -> " + fname + "("; |
8 | }); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031732 |
Snippet name: | tok_pcallPrefix |
Eternal ID of this version: | #1031732/5 |
Text MD5: | 0e7912a2c1fe89eacdebc69af3653f9c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-29 01:20:49 |
Source code size: | 288 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 257 |
Version history: | 4 change(s) |
Referenced in: | [show references] |