static Set<S> collectSnippetIDsInTranspiledSnippet(S snippetID) { if (isImageSnippetID(snippetID)) ret new Set; int type = getSnippetType(snippetID); if (!isJavaxCompilableSnippetTypeExceptInclude(type)) ret new Set; S src = getServerTranspiled2(snippetID); //Set<S> set = collectSnippetIDsInText(src); Set<S> set = collectSnippetIDsInJavaSource(dropFirstLine(src)); // skip comments LS libs = map fsI(regexpAll("[0-9]+", firstLine(src)); print("Libs for " + snippetID + ": " + libs); addAll(set, libs); ret set; }
Began life as a copy of #1022614
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: | #1022616 |
Snippet name: | collectSnippetIDsInTranspiledSnippet (also includes the libraries it uses, but not the translators) |
Eternal ID of this version: | #1022616/12 |
Text MD5: | bef2f9171e30ffe699f55350b7591ed9 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-25 18:21:06 |
Source code size: | 550 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 253 / 308 |
Version history: | 11 change(s) |
Referenced in: | [show references] |