1 | static void tok_p_old(L<S> tok) { |
2 | if (!containsSubList(tok, "p", "", "-")) ret; |
3 | replaceKeywordBlock(tok, "p-pcall", "p { pcall {", "}}"); |
4 | jreplace(tok, "p-autorestart", "p-autoupdate"); |
5 | jreplace(tok, "p-autoupdate {", "p { autoUpdate();"); |
6 | jreplace(tok, "p-noconsole-autoupdate {", "p-noconsole { autoUpdate();"); |
7 | jreplace(tok, "p-subst-autoupdate {", "p-subst { autoUpdate();"); |
8 | jreplace(tok, "p-subst-autorestart {", "p-subst { autoUpdate();"); |
9 | jreplace(tok, "p-pretty {", "p-noconsole {"); |
10 | replaceKeywordBlock(tok, "p-awt-noconsole", "p-awt {", ";\nhideConsole(); }"); |
11 | replaceKeywordBlock(tok, "p-hideconsole", "p {", ";\nhideConsole(); }"); |
12 | replaceKeywordBlock(tok, "p-substance-noconsole", "p-substance {", ";\nhideConsole(); }"); |
13 | replaceKeywordBlock(tok, "p-nimbus-noconsole", "p-nimbus {", ";\nhideConsole(); }"); |
14 | replaceKeywordBlock(tok, "p-subst-noconsole", "p-subst {", ";\nhideConsole(); }"); |
15 | replaceKeywordBlock(tok, "p-noconsole", "p-subst {", ";\nhideConsole(); }"); |
16 | replaceKeywordBlock(tok, "p-subst", "p-substance-thread {", "}"); |
17 | replaceKeywordBlock(tok, "p-substance-thread", "p { substance();", "}"); |
18 | replaceKeywordBlock(tok, "p-magellan-thread", "p { magellan();", "}"); |
19 | replaceKeywordBlock(tok, "p-substance", "p-awt { substance();", "}"); |
20 | replaceKeywordBlock(tok, "p-nimbus", "p-awt { nimbus();", "}"); |
21 | replaceKeywordBlock(tok, "p-center", "p { centerConsole(); ", "}"); |
22 | replaceKeywordBlock(tok, "p-experiment-tt", "p-experiment { tt(); ", "}"); |
23 | jreplace(tok, "p-exp", "p-experiment"); |
24 | replaceKeywordBlock(tok, "p-experiment", "p { pExperiment(); ", "}"); |
25 | jreplace(tok, "p-type {", "p-typewriter {"); |
26 | jreplace(tok, "p-tt {", "p-typewriter {"); |
27 | replaceKeywordBlock(tok, "p-awt", "p { swing {", "}}"); |
28 | replaceKeywordBlock(tok, "p-typewriter", "p { typeWriterConsole();", "}"); |
29 | replaceKeywordBlock(tok, "p-lowprio", "p { lowPriorityThread(r " + "{", "}); }"); |
30 | tok_p_repeatWithSleep(tok); |
31 | } |
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: | #1014244 |
Snippet name: | tok_p_old - replace p-... {} (LIVE) |
Eternal ID of this version: | #1014244/14 |
Text MD5: | cd11f9d9cc06dc95b33d06140a589189 |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-31 16:04:11 |
Source code size: | 1996 bytes / 31 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 558 / 570 |
Version history: | 13 change(s) |
Referenced in: | [show references] |