Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1016220 // hotwire_autoStickyLibs - requires flag hotwire_here

JavaX fragment (include)

set flag hotwire_here.

please include function hotwire.

static void hotwire_autoStickyLibs() {
  set hotwire_serially;
  
  hotwire_onCompile = voidfunc(Pair<File, S> p) {
    L<S> tok = javaTok(p.b);
    for (int i = 1; i < l(tok); i += 2) {
      S t = tok.get(i);
      if (eq(t, '_stickyLibs) || startsWith(t, '_stickyLibs_))
        markLibsSticky((L<S>) loadVariableDefinition(p.b, tok, t));
    }
  };
}

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: #1016220
Snippet name: hotwire_autoStickyLibs - requires flag hotwire_here
Eternal ID of this version: #1016220/2
Text MD5: 3208635bbacbd2ddfa7796968553f210
Author: stefan
Category: javax / class loading
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 20:19:04
Source code size: 427 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 390
Version history: 1 change(s)
Referenced in: [show references]