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

26
LINES

< > BotCompany Repo | #1031265 // Include all standard functions and classes in one module [include maker]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (4310L/23K).

!7

cprint {
  bool includeName(S name) {
    //ret !eqOneOf(name, "ai_spec_init");
    if (swic(name, "AI_")) false;
    true;
  }
  
  start-thread {
    new LS lines;
    
    for (S name, snippetID : standardFunctionMap())
      if (includeName(name))
        lines.add("please include function " + name + ".");
      
    lines.add("");
    
    for (S name, snippetID : standardClassesMap())
      if (includeName(name))
        lines.add("please include class " + name + ".");
  
    editSnippet(#1031264, copyToClipboard(lines(lines)));
    print("Include text copied to clipboard");
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031265
Snippet name: Include all standard functions and classes in one module [include maker]
Eternal ID of this version: #1031265/4
Text MD5: 4a49827244960ca4bb8c29c62434b454
Transpilation MD5: adf5a374c3825aea14acd8d0733bc3df
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-26 18:40:50
Source code size: 622 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 81 / 124
Version history: 3 change(s)
Referenced in: [show references]