public class JsToStringGenerationVisitor extends JsVisitor
Modifier and Type | Field and Description |
---|---|
protected boolean |
needSemi |
LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
JsToStringGenerationVisitor(TextOutput out)
Generate the output string using short identifiers.
|
accept, acceptList, acceptLvalue, acceptWithInsertRemove, didChange, doAccept, doAcceptList, doAcceptLvalue, doAcceptWithInsertRemove, doTraverse, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit
public JsToStringGenerationVisitor(TextOutput out)
public StatementRanges getStatementRanges()
public boolean visit(JsArrayAccess x, JsContext ctx)
public boolean visit(JsArrayLiteral x, JsContext ctx)
public boolean visit(JsBinaryOperation x, JsContext ctx)
public boolean visit(JsBooleanLiteral x, JsContext ctx)
public boolean visit(JsConditional x, JsContext ctx)
public boolean visit(JsContinue x, JsContext ctx)
public boolean visit(JsDebugger x, JsContext ctx)
public boolean visit(JsExprStmt x, JsContext ctx)
public boolean visit(JsFunction x, JsContext ctx)
public boolean visit(JsInvocation x, JsContext ctx)
public boolean visit(JsNullLiteral x, JsContext ctx)
public boolean visit(JsNumberLiteral x, JsContext ctx)
public boolean visit(JsNumericEntry x, JsContext ctx)
public boolean visit(JsObjectLiteral x, JsContext ctx)
public boolean visit(JsParameter x, JsContext ctx)
public boolean visit(JsPostfixOperation x, JsContext ctx)
public boolean visit(JsPrefixOperation x, JsContext ctx)
public boolean visit(JsProgramFragment x, JsContext ctx)
public boolean visit(JsPropertyInitializer x, JsContext ctx)
public boolean visit(JsSeedIdOf x, JsContext ctx)
public boolean visit(JsStringLiteral x, JsContext ctx)
public boolean visit(JsVars.JsVar x, JsContext ctx)
protected void _newline()
protected void _newlineOpt()
protected void printJsBlock(JsBlock x, boolean truncate, boolean finalNewline)
Copyright © 2018. All rights reserved.