Libraryless. Click here for Pure Java version (2555L/17K/58K).
!7 sS progID = #1008347; p { S java = loadSnippet(progID); L<S> tok = javaTok(java); L<S> def = findMultiLineVarDefinition(tok, "bla"); if (def == null) { print("No var definition found"); ret; } S bla = unquote(def.get(1)), _ = bla; bla = addConceptIDs(bla); if (eq(bla, _)) { print("Nothing to do!"; ret; } def.set(1, multiLineQuote(bla)); java = join(tok); print("\n" + java); editSnippetVerbose(progID, java); }
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: | 599 / 718 |
Version history: | 7 change(s) |
Referenced in: | [show references] |