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)

1  
set flag hotwire_here.
2  
3  
please include function hotwire.
4  
5  
static void hotwire_autoStickyLibs() {
6  
  set hotwire_serially;
7  
  
8  
  hotwire_onCompile = voidfunc(Pair<File, S> p) {
9  
    L<S> tok = javaTok(p.b);
10  
    for (int i = 1; i < l(tok); i += 2) {
11  
      S t = tok.get(i);
12  
      if (eq(t, '_stickyLibs) || startsWith(t, '_stickyLibs_))
13  
        markLibsSticky((L<S>) loadVariableDefinition(p.b, tok, t));
14  
    }
15  
  };
16  
}

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: 434 / 463
Version history: 1 change(s)
Referenced in: [show references]