public class ASTPrinter extends Object
Constructor and Description |
---|
ASTPrinter() |
Modifier and Type | Method and Description |
---|---|
static boolean |
print(IASTNode root)
Prints the AST to stdout.
|
static boolean |
print(IASTNode node,
PrintStream out)
Prints the AST to the given PrintStream.
|
static boolean |
printProblems(IASTNode root)
Prints problem nodes in the AST to stdout.
|
static boolean |
printProblems(IASTNode node,
PrintStream out)
Prints problem nodes in the AST to the given printstream.
|
public static boolean print(IASTNode node, PrintStream out)
public static boolean print(IASTNode root)
public static boolean printProblems(IASTNode node, PrintStream out)
public static boolean printProblems(IASTNode root)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.