static MultiMap<S> dm_moduleRequiringModuleMap_v1() { new MultiMap<S> mm; for (S moduleID : dm_dynModulesOnServer_ids()) { S src = dm_getSnippetText(moduleID); for (S args : tok_allArgsInCallsToFunctions(javaTok(src), 'dm_requireModule, 'dm_makeModule, 'dm_makeOrShowModule)) if (isProperlyQuoted2(args)) mm.put(moduleID, beforeSlash_orAll(unquote(args))); } ret mm; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020089 |
| Snippet name: | dm_moduleRequiringModuleMap_v1 - finds directly referenced modules (not through another function) |
| Eternal ID of this version: | #1020089/5 |
| Text MD5: | 219dc552525516751412b843378e083a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-06 21:50:39 |
| Source code size: | 407 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 551 / 601 |
| Version history: | 4 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |