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

18
LINES

< > BotCompany Repo | #1011229 // Test javaParseCompilationUnit [OK]

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

Download Jar. Uses 2039K of libraries. Click here for Pure Java version (4454L/29K).

!7

p {
  CompilationUnit cu = javaParseCompilationUnit(getServerTranspiled2(#1011219));
  printJavaParserTree(cu);
}

svoid printJavaParserTree(Node node) {
  if (node == null) ret with print("null");
  print(shortClassName(node));
  threadIndent();
  try {
    for (Node child : node.getChildNodes())
      printJavaParserTree(child);
  } finally {
    threadUnindent();
  }
}

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: #1011229
Snippet name: Test javaParseCompilationUnit [OK]
Eternal ID of this version: #1011229/2
Text MD5: b02a10d18bf2ee1503c87b4b4a516dc7
Transpilation MD5: 30d79c0f3fd0c0d08906e018ed471bfa
Author: stefan
Category: javax / parsing
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-19 16:18:20
Source code size: 395 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 527 / 1141
Version history: 1 change(s)
Referenced in: #1011232 - Test making all fields, methods & classes public in Java source [OK]
#1011243 - Bench Java Parser [OK]