| java.lang.Object org.openlaszlo.sc.ParseTreePrinter
ParseTreePrinter | public class ParseTreePrinter (Code) | | |
Method Summary | |
public String | defaultVisitor(SimpleNode node, String[] children) | public String | delimit(String phrase, boolean force) | public String | delimit(String phrase) | String | doFunctionDeclaration(SimpleNode node, String[] children, boolean useName) | public String | elideSemi(String phrase) | public static String | join(String token, String[] strings) | public String | makeBlock(String body) | public String | maybeAddParens(int parentPrec, SimpleNode node, String nodeRep) | public String | maybeAddParens(int parentPrec, SimpleNode node, String nodeRep, boolean assoc) | public int | prec(int op, boolean unary) | public void | print(SimpleNode node) | public void | print(SimpleNode node, OutputStream output) | public void | print(SimpleNode node, PrintStream where) | public String | visit(SimpleNode node) | public String | visitAndOrExpressionSequence(boolean isAnd, SimpleNode node, String[] children) | public String | visitArrayLiteral(SimpleNode node, String[] children) | public String | visitAssignmentExpression(SimpleNode node, String[] children) | public String | visitBinaryExpressionSequence(SimpleNode node, String[] children) | public String | visitBreakStatement(SimpleNode node, String[] children) | public String | visitCallExpression(SimpleNode node, String[] children) | public String | visitCaseClause(SimpleNode node, String[] children) | public String | visitCatchClause(SimpleNode node, String[] children) | public String | visitConditionalExpression(SimpleNode node, String[] children) | public String | visitContinueStatement(SimpleNode node, String[] children) | public String | visitDefaultClause(SimpleNode node, String[] children) | public String | visitDoWhileStatement(SimpleNode node, String[] children) | public String | visitEmptyExpression(SimpleNode node, String[] children) | public String | visitExpressionList(SimpleNode node, String[] children) | public String | visitFinallyClause(SimpleNode node, String[] children) | public String | visitForInStatement(SimpleNode node, String[] children) | public String | visitForVarInStatement(SimpleNode node, String[] children) | public String | visitForVarStatement(SimpleNode node, String[] children) | public String | visitFunctionDeclaration(SimpleNode node, String[] children) | public String | visitFunctionExpression(SimpleNode node, String[] children) | public String | visitIdentifier(SimpleNode node, String[] children) | public String | visitIfStatement(SimpleNode node, String[] children) | public String | visitLiteral(SimpleNode node, String[] children) | public String | visitNewExpression(SimpleNode node, String[] children) | public String | visitObjectLiteral(SimpleNode node, String[] children) | public String | visitOperator(SimpleNode op, String[] children) | public String | visitPostfixExpression(SimpleNode node, String[] children) | public String | visitPragmaDirective(SimpleNode node, String[] children) | public String | visitPropertyIdentifierReference(SimpleNode node, String[] children) | public String | visitPropertyValueReference(SimpleNode node, String[] children) | public String | visitReturnStatement(SimpleNode node, String[] children) | public String | visitSuperCallExpression(SimpleNode node, String[] children) | public String | visitSwitchStatement(SimpleNode node, String[] children) | public String | visitThisReference(SimpleNode node, String[] children) | public String | visitThrowStatement(SimpleNode node, String[] children) | public String | visitTryStatement(SimpleNode node, String[] children) | public String | visitUnaryExpression(SimpleNode node, String[] children) | public String | visitVariableDeclaration(SimpleNode node, String[] children) | public String | visitVariableDeclarationList(SimpleNode node, String[] children) | public String | visitVariableStatement(SimpleNode node, String[] children) | public String | visitWhileStatement(SimpleNode node, String[] children) | public String | visitWithStatement(SimpleNode node, String[] children) |
compress | boolean compress(Code) | | |
ParseTreePrinter | public ParseTreePrinter()(Code) | | |
ParseTreePrinter | public ParseTreePrinter(boolean compress)(Code) | | |
ParseTreePrinter | public ParseTreePrinter(boolean compress, boolean obfuscate)(Code) | | |
prec | public int prec(int op, boolean unary)(Code) | | |
|
|