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

13
LINES

< > BotCompany Repo | #1004837 // Test Loading Unknown Concepts [WORKS]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2580L/16K/57K).

!752

!include #1004681 // Concepts

p {
  // We can now load concepts we haven't even declared in this program.
  // They end up as instances of "DynamicObject".
  loadConceptsFrom("#1004820");
  print("Java Tokens: " + l(conceptsOfType("JavaToken")));
  for (DynamicObject o : allConcepts()) {
    print(dynamicClassName(o) + " " + get(o, "startIndex") + " " + className(o));
  }
}

Author comment

Began life as a copy of #1004836

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004837
Snippet name: Test Loading Unknown Concepts [WORKS]
Eternal ID of this version: #1004837/1
Text MD5: 388292bc41ba55e41a728a83d6c7d906
Transpilation MD5: 0eee997ebea45bab66f1fb79de3f718b
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-03 22:51:26
Source code size: 395 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 510 / 581
Referenced in: [show references]