Libraryless. Click here for Pure Java version (2555L/17K/58K).
1 | !7 |
2 | |
3 | sS progID = #1008347; |
4 | |
5 | p { |
6 | S java = loadSnippet(progID); |
7 | L<S> tok = javaTok(java); |
8 | L<S> def = findMultiLineVarDefinition(tok, "bla"); |
9 | if (def == null) { print("No var definition found"); ret; } |
10 | S bla = unquote(def.get(1)), _ = bla; |
11 | bla = addConceptIDs(bla); |
12 | if (eq(bla, _)) { |
13 | print("Nothing to do!"; |
14 | ret; |
15 | } |
16 | def.set(1, multiLineQuote(bla)); |
17 | java = join(tok); |
18 | print("\n" + java); |
19 | editSnippetVerbose(progID, java); |
20 | } |
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: | #1008350 |
Snippet name: | Add concept IDs to program [WORKS] |
Eternal ID of this version: | #1008350/8 |
Text MD5: | 2e3ace084045f7fd3df37794302badf1 |
Transpilation MD5: | 36925ee37f5cdcf149fafd2bcd555c66 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-09 15:16:45 |
Source code size: | 468 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 601 / 720 |
Version history: | 7 change(s) |
Referenced in: | [show references] |