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

11
LINES

< > BotCompany Repo | #1011231 // printJavaParserTree

JavaX fragment (include)

static void 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: #1011231
Snippet name: printJavaParserTree
Eternal ID of this version: #1011231/1
Text MD5: 6b3337313086e0829d4f4603a5efee52
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-19 16:19:11
Source code size: 275 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 419 / 426
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)