public class SourceGenerationVisitor extends ToStringGenerationVisitor
CHARS_ABSTRACT, CHARS_ASSERT, CHARS_BREAK, CHARS_CASE, CHARS_CATCH, CHARS_CLASS, CHARS_COMMA, CHARS_CONTINUE, CHARS_DEFAULT, CHARS_DO, CHARS_DOTCLASS, CHARS_ELSE, CHARS_EXTENDS, CHARS_FALSE, CHARS_FINAL, CHARS_FINALLY, CHARS_FOR, CHARS_IF, CHARS_IMPLEMENTS, CHARS_INSTANCEOF, CHARS_INTERFACE, CHARS_NAMEOF, CHARS_NATIVE, CHARS_NEW, CHARS_NULL, CHARS_PIPE, CHARS_PRIVATE, CHARS_PROTECTED, CHARS_PUBLIC, CHARS_RETURN, CHARS_RUNTIMETYPEREFERENCE, CHARS_SLASHSTAR, CHARS_STARSLASH, CHARS_STATIC, CHARS_SUPER, CHARS_SWITCH, CHARS_THIS, CHARS_THROW, CHARS_TRUE, CHARS_TRY, CHARS_WHILE
LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
SourceGenerationVisitor(TextOutput textOutput) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldPrintMethodBody() |
boolean |
visit(JClassType x,
Context ctx) |
boolean |
visit(JInterfaceType x,
Context ctx) |
boolean |
visit(JProgram x,
Context ctx) |
closeBlock, lparen, nestedStatementPop, nestedStatementPush, openBlock, parenPop, parenPop, parenPush, parenPush, printAbstractFlag, printBooleanLiteral, printChar, printCharLiteral, printDoubleLiteral, printFinalFlag, printLongLiteral, printMethodHeader, printName, printNativeFlag, printParameterList, printStaticFlag, printStringLiteral, printType, printTypeName, rparen, semi, space, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitCollectionWith, visitCollectionWithCommas
getColumn, getLine, getPosition, indentIn, indentOut, newline, newlineOpt, print, print, print, printOpt, printOpt, printOpt
accept, accept, accept, accept, accept, accept, acceptImmutable, acceptLvalue, acceptWithInsertRemove, acceptWithInsertRemoveImmutable, didChange, 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, 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, translateException, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public SourceGenerationVisitor(TextOutput textOutput)
public boolean visit(JClassType x, Context ctx)
visit
in class ToStringGenerationVisitor
public boolean visit(JInterfaceType x, Context ctx)
visit
in class ToStringGenerationVisitor
public boolean visit(JProgram x, Context ctx)
visit
in class ToStringGenerationVisitor
protected boolean shouldPrintMethodBody()
shouldPrintMethodBody
in class ToStringGenerationVisitor
Copyright © 2018. All rights reserved.