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).

1  
!7
2  
3  
p {
4  
  CompilationUnit cu = javaParseCompilationUnit(getServerTranspiled2(#1011219));
5  
  printJavaParserTree(cu);
6  
}
7  
8  
svoid printJavaParserTree(Node node) {
9  
  if (node == null) ret with print("null");
10  
  print(shortClassName(node));
11  
  threadIndent();
12  
  try {
13  
    for (Node child : node.getChildNodes())
14  
      printJavaParserTree(child);
15  
  } finally {
16  
    threadUnindent();
17  
  }
18  
}

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