Class SourcePrinter
java.lang.Object
org.codehaus.groovy.antlr.treewalker.VisitorAdapter
org.codehaus.groovy.antlr.treewalker.SourcePrinter
- All Implemented Interfaces:
Visitor
An antlr AST visitor that prints groovy source code for each visited node
to the supplied PrintStream.
- Author:
- Jeremy Rayner
-
Field Summary
Fields inherited from interface org.codehaus.groovy.antlr.treewalker.Visitor
CLOSING_VISIT, OPENING_VISIT, SECOND_VISIT, SUBSEQUENT_VISIT
-
Constructor Summary
ConstructorDescriptionSourcePrinter
(PrintStream out, String[] tokenNames) A visitor that prints groovy source code for each node visited.SourcePrinter
(PrintStream out, String[] tokenNames, boolean newLines) A visitor that prints groovy source code for each node visited. -
Method Summary
Modifier and TypeMethodDescriptionpop()
protected void
print
(GroovySourceAST t, int visit, String value) protected void
print
(GroovySourceAST t, int visit, String opening, String subsequent, String closing) protected void
printNewlineAndIndent
(GroovySourceAST t, int visit) protected void
printUpdatingTabLevel
(GroovySourceAST t, int visit, String opening, String subsequent, String closing) void
void
visitAbstract
(GroovySourceAST t, int visit) void
visitAnnotation
(GroovySourceAST t, int visit) void
visitAnnotationDef
(GroovySourceAST t, int visit) void
visitAnnotationFieldDef
(GroovySourceAST t, int visit) void
visitAnnotationMemberValuePair
(GroovySourceAST t, int visit) void
visitAnnotations
(GroovySourceAST t, int visit) void
visitArrayDeclarator
(GroovySourceAST t, int visit) void
visitAssign
(GroovySourceAST t, int visit) void
visitBand
(GroovySourceAST t, int visit) void
visitBandAssign
(GroovySourceAST t, int visit) void
visitBnot
(GroovySourceAST t, int visit) void
visitBor
(GroovySourceAST t, int visit) void
visitBorAssign
(GroovySourceAST t, int visit) void
visitBsr
(GroovySourceAST t, int visit) void
visitBsrAssign
(GroovySourceAST t, int visit) void
visitBxor
(GroovySourceAST t, int visit) void
visitBxorAssign
(GroovySourceAST t, int visit) void
visitCaseGroup
(GroovySourceAST t, int visit) void
visitClassDef
(GroovySourceAST t, int visit) void
visitClosedBlock
(GroovySourceAST t, int visit) void
visitClosureList
(GroovySourceAST t, int visit) void
visitCompareTo
(GroovySourceAST t, int visit) void
visitCtorCall
(GroovySourceAST t, int visit) void
visitCtorIdent
(GroovySourceAST t, int visit) void
visitDec
(GroovySourceAST t, int visit) void
visitDefault
(GroovySourceAST t, int visit) void
visitDiv
(GroovySourceAST t, int visit) void
visitDivAssign
(GroovySourceAST t, int visit) void
visitDot
(GroovySourceAST t, int visit) void
visitDynamicMember
(GroovySourceAST t, int visit) void
visitElist
(GroovySourceAST t, int visit) void
visitEnumConstantDef
(GroovySourceAST t, int visit) void
visitEnumDef
(GroovySourceAST t, int visit) void
visitEqual
(GroovySourceAST t, int visit) void
visitExpr
(GroovySourceAST t, int visit) void
visitExtendsClause
(GroovySourceAST t, int visit) void
visitFinal
(GroovySourceAST t, int visit) void
visitForCondition
(GroovySourceAST t, int visit) void
visitForInit
(GroovySourceAST t, int visit) void
visitForInIterable
(GroovySourceAST t, int visit) void
visitForIterator
(GroovySourceAST t, int visit) void
visitGe
(GroovySourceAST t, int visit) void
visitGt
(GroovySourceAST t, int visit) void
visitIdent
(GroovySourceAST t, int visit) void
visitImplementsClause
(GroovySourceAST t, int visit) void
visitImplicitParameters
(GroovySourceAST t, int visit) void
visitImport
(GroovySourceAST t, int visit) void
visitInc
(GroovySourceAST t, int visit) void
visitIndexOp
(GroovySourceAST t, int visit) void
visitInstanceInit
(GroovySourceAST t, int visit) void
visitInterfaceDef
(GroovySourceAST t, int visit) void
visitLabeledArg
(GroovySourceAST t, int visit) void
visitLabeledStat
(GroovySourceAST t, int visit) void
visitLand
(GroovySourceAST t, int visit) void
visitLe
(GroovySourceAST t, int visit) void
visitListConstructor
(GroovySourceAST t, int visit) void
visitLiteralAs
(GroovySourceAST t, int visit) void
visitLiteralAssert
(GroovySourceAST t, int visit) void
visitLiteralBoolean
(GroovySourceAST t, int visit) void
visitLiteralBreak
(GroovySourceAST t, int visit) void
visitLiteralByte
(GroovySourceAST t, int visit) void
visitLiteralCase
(GroovySourceAST t, int visit) void
visitLiteralCatch
(GroovySourceAST t, int visit) void
visitLiteralChar
(GroovySourceAST t, int visit) void
visitLiteralContinue
(GroovySourceAST t, int visit) void
visitLiteralDefault
(GroovySourceAST t, int visit) void
visitLiteralDouble
(GroovySourceAST t, int visit) void
visitLiteralFalse
(GroovySourceAST t, int visit) void
visitLiteralFinally
(GroovySourceAST t, int visit) void
visitLiteralFloat
(GroovySourceAST t, int visit) void
visitLiteralFor
(GroovySourceAST t, int visit) void
visitLiteralIf
(GroovySourceAST t, int visit) void
visitLiteralIn
(GroovySourceAST t, int visit) void
visitLiteralInstanceof
(GroovySourceAST t, int visit) void
visitLiteralInt
(GroovySourceAST t, int visit) void
visitLiteralLong
(GroovySourceAST t, int visit) void
visitLiteralNative
(GroovySourceAST t, int visit) void
visitLiteralNew
(GroovySourceAST t, int visit) void
visitLiteralNull
(GroovySourceAST t, int visit) void
visitLiteralPrivate
(GroovySourceAST t, int visit) void
visitLiteralProtected
(GroovySourceAST t, int visit) void
visitLiteralPublic
(GroovySourceAST t, int visit) void
visitLiteralReturn
(GroovySourceAST t, int visit) void
visitLiteralShort
(GroovySourceAST t, int visit) void
visitLiteralStatic
(GroovySourceAST t, int visit) void
visitLiteralSuper
(GroovySourceAST t, int visit) void
visitLiteralSwitch
(GroovySourceAST t, int visit) void
visitLiteralSynchronized
(GroovySourceAST t, int visit) void
visitLiteralThis
(GroovySourceAST t, int visit) void
visitLiteralThreadsafe
(GroovySourceAST t, int visit) void
visitLiteralThrow
(GroovySourceAST t, int visit) void
visitLiteralThrows
(GroovySourceAST t, int visit) void
visitLiteralTransient
(GroovySourceAST t, int visit) void
visitLiteralTrue
(GroovySourceAST t, int visit) void
visitLiteralTry
(GroovySourceAST t, int visit) void
visitLiteralVoid
(GroovySourceAST t, int visit) void
visitLiteralVolatile
(GroovySourceAST t, int visit) void
visitLiteralWhile
(GroovySourceAST t, int visit) void
visitLnot
(GroovySourceAST t, int visit) void
visitLor
(GroovySourceAST t, int visit) void
visitLt
(GroovySourceAST t, int visit) void
visitMapConstructor
(GroovySourceAST t, int visit) void
visitMemberPointer
(GroovySourceAST t, int visit) void
visitMethodCall
(GroovySourceAST t, int visit) void
visitMethodDef
(GroovySourceAST t, int visit) void
visitMinus
(GroovySourceAST t, int visit) void
visitMinusAssign
(GroovySourceAST t, int visit) void
visitMod
(GroovySourceAST t, int visit) void
visitModAssign
(GroovySourceAST t, int visit) void
visitModifiers
(GroovySourceAST t, int visit) void
visitMultiCatch
(GroovySourceAST t, int visit) void
visitMultiCatchTypes
(GroovySourceAST t, int visit) void
visitNotEqual
(GroovySourceAST t, int visit) void
visitNumBigDecimal
(GroovySourceAST t, int visit) void
visitNumBigInt
(GroovySourceAST t, int visit) void
visitNumDouble
(GroovySourceAST t, int visit) void
visitNumFloat
(GroovySourceAST t, int visit) void
visitNumInt
(GroovySourceAST t, int visit) void
visitNumLong
(GroovySourceAST t, int visit) void
visitObjblock
(GroovySourceAST t, int visit) void
visitOptionalDot
(GroovySourceAST t, int visit) void
visitPackageDef
(GroovySourceAST t, int visit) void
visitParameterDef
(GroovySourceAST t, int visit) void
visitParameters
(GroovySourceAST t, int visit) void
visitPlus
(GroovySourceAST t, int visit) void
visitPlusAssign
(GroovySourceAST t, int visit) void
visitPostDec
(GroovySourceAST t, int visit) void
visitPostInc
(GroovySourceAST t, int visit) void
visitQuestion
(GroovySourceAST t, int visit) void
visitRangeExclusive
(GroovySourceAST t, int visit) void
visitRangeInclusive
(GroovySourceAST t, int visit) void
visitRegexFind
(GroovySourceAST t, int visit) void
visitRegexMatch
(GroovySourceAST t, int visit) void
visitSelectSlot
(GroovySourceAST t, int visit) void
visitSl
(GroovySourceAST t, int visit) void
visitSlAssign
(GroovySourceAST t, int visit) void
visitSlist
(GroovySourceAST t, int visit) void
visitSpreadArg
(GroovySourceAST t, int visit) void
visitSpreadDot
(GroovySourceAST t, int visit) void
visitSpreadMapArg
(GroovySourceAST t, int visit) void
visitSr
(GroovySourceAST t, int visit) void
visitSrAssign
(GroovySourceAST t, int visit) void
visitStar
(GroovySourceAST t, int visit) void
visitStarAssign
(GroovySourceAST t, int visit) void
visitStarStar
(GroovySourceAST t, int visit) void
visitStarStarAssign
(GroovySourceAST t, int visit) void
visitStaticImport
(GroovySourceAST t, int visit) void
visitStaticInit
(GroovySourceAST t, int visit) void
visitStrictfp
(GroovySourceAST t, int visit) void
visitStringConstructor
(GroovySourceAST t, int visit) void
visitStringLiteral
(GroovySourceAST t, int visit) void
visitSuperCtorCall
(GroovySourceAST t, int visit) void
visitTraitDef
(GroovySourceAST t, int visit) void
visitType
(GroovySourceAST t, int visit) void
visitTypeArgument
(GroovySourceAST t, int visit) void
visitTypeArguments
(GroovySourceAST t, int visit) void
visitTypecast
(GroovySourceAST t, int visit) void
visitTypeLowerBounds
(GroovySourceAST t, int visit) void
visitTypeParameter
(GroovySourceAST t, int visit) void
visitTypeParameters
(GroovySourceAST t, int visit) void
visitTypeUpperBounds
(GroovySourceAST t, int visit) void
visitUnaryMinus
(GroovySourceAST t, int visit) void
visitUnaryPlus
(GroovySourceAST t, int visit) void
visitVariableDef
(GroovySourceAST t, int visit) void
visitVariableParameterDef
(GroovySourceAST t, int visit) void
visitWildcardType
(GroovySourceAST t, int visit) Methods inherited from class org.codehaus.groovy.antlr.treewalker.VisitorAdapter
setUp, tearDown, visitAnnotationArrayInit, visitAt, visitBigSuffix, visitBlock, visitClosureOp, visitColon, visitComma, visitDigit, visitDollar, visitEmptyStat, visitEof, visitEsc, visitExponent, visitFloatSuffix, visitForEachClause, visitHexDigit, visitLbrack, visitLcurly, visitLetter, visitLiteralClass, visitLiteralDef, visitLiteralElse, visitLiteralEnum, visitLiteralExtends, visitLiteralImplements, visitLiteralImport, visitLiteralInterface, visitLiteralPackage, visitLparen, visitMlComment, visitNls, visitNullTreeLookahead, visitOneNl, visitRbrack, visitRcurly, visitRegexpCtorEnd, visitRegexpLiteral, visitRegexpSymbol, visitRparen, visitSemi, visitShComment, visitSlComment, visitStringCh, visitStringCtorEnd, visitStringCtorMiddle, visitStringCtorStart, visitStringNl, visitTripleDot, visitUnusedConst, visitUnusedDo, visitUnusedGoto, visitVocab, visitWs
-
Field Details
-
out
-
-
Constructor Details
-
SourcePrinter
A visitor that prints groovy source code for each node visited.- Parameters:
out
- where to print the source code totokenNames
- an array of token names from antlr
-
SourcePrinter
A visitor that prints groovy source code for each node visited.- Parameters:
out
- where to print the source code totokenNames
- an array of token names from antlrnewLines
- output newline character
-
-
Method Details
-
visitAbstract
- Specified by:
visitAbstract
in interfaceVisitor
- Overrides:
visitAbstract
in classVisitorAdapter
-
visitAnnotation
- Specified by:
visitAnnotation
in interfaceVisitor
- Overrides:
visitAnnotation
in classVisitorAdapter
-
visitAnnotations
- Specified by:
visitAnnotations
in interfaceVisitor
- Overrides:
visitAnnotations
in classVisitorAdapter
-
visitAnnotationDef
- Specified by:
visitAnnotationDef
in interfaceVisitor
- Overrides:
visitAnnotationDef
in classVisitorAdapter
-
visitAnnotationFieldDef
- Specified by:
visitAnnotationFieldDef
in interfaceVisitor
- Overrides:
visitAnnotationFieldDef
in classVisitorAdapter
-
visitAnnotationMemberValuePair
- Specified by:
visitAnnotationMemberValuePair
in interfaceVisitor
- Overrides:
visitAnnotationMemberValuePair
in classVisitorAdapter
-
visitArrayDeclarator
- Specified by:
visitArrayDeclarator
in interfaceVisitor
- Overrides:
visitArrayDeclarator
in classVisitorAdapter
-
visitAssign
- Specified by:
visitAssign
in interfaceVisitor
- Overrides:
visitAssign
in classVisitorAdapter
-
visitBand
- Specified by:
visitBand
in interfaceVisitor
- Overrides:
visitBand
in classVisitorAdapter
-
visitBandAssign
- Specified by:
visitBandAssign
in interfaceVisitor
- Overrides:
visitBandAssign
in classVisitorAdapter
-
visitBnot
- Specified by:
visitBnot
in interfaceVisitor
- Overrides:
visitBnot
in classVisitorAdapter
-
visitBor
- Specified by:
visitBor
in interfaceVisitor
- Overrides:
visitBor
in classVisitorAdapter
-
visitBorAssign
- Specified by:
visitBorAssign
in interfaceVisitor
- Overrides:
visitBorAssign
in classVisitorAdapter
-
visitBsr
- Specified by:
visitBsr
in interfaceVisitor
- Overrides:
visitBsr
in classVisitorAdapter
-
visitBsrAssign
- Specified by:
visitBsrAssign
in interfaceVisitor
- Overrides:
visitBsrAssign
in classVisitorAdapter
-
visitBxor
- Specified by:
visitBxor
in interfaceVisitor
- Overrides:
visitBxor
in classVisitorAdapter
-
visitBxorAssign
- Specified by:
visitBxorAssign
in interfaceVisitor
- Overrides:
visitBxorAssign
in classVisitorAdapter
-
visitCaseGroup
- Specified by:
visitCaseGroup
in interfaceVisitor
- Overrides:
visitCaseGroup
in classVisitorAdapter
-
visitClassDef
- Specified by:
visitClassDef
in interfaceVisitor
- Overrides:
visitClassDef
in classVisitorAdapter
-
visitClosedBlock
- Specified by:
visitClosedBlock
in interfaceVisitor
- Overrides:
visitClosedBlock
in classVisitorAdapter
-
visitClosureList
- Specified by:
visitClosureList
in interfaceVisitor
- Overrides:
visitClosureList
in classVisitorAdapter
-
visitCompareTo
- Specified by:
visitCompareTo
in interfaceVisitor
- Overrides:
visitCompareTo
in classVisitorAdapter
-
visitCtorCall
- Specified by:
visitCtorCall
in interfaceVisitor
- Overrides:
visitCtorCall
in classVisitorAdapter
-
visitCtorIdent
- Specified by:
visitCtorIdent
in interfaceVisitor
- Overrides:
visitCtorIdent
in classVisitorAdapter
-
visitDec
- Specified by:
visitDec
in interfaceVisitor
- Overrides:
visitDec
in classVisitorAdapter
-
visitDiv
- Specified by:
visitDiv
in interfaceVisitor
- Overrides:
visitDiv
in classVisitorAdapter
-
visitDivAssign
- Specified by:
visitDivAssign
in interfaceVisitor
- Overrides:
visitDivAssign
in classVisitorAdapter
-
visitDot
- Specified by:
visitDot
in interfaceVisitor
- Overrides:
visitDot
in classVisitorAdapter
-
visitDynamicMember
- Specified by:
visitDynamicMember
in interfaceVisitor
- Overrides:
visitDynamicMember
in classVisitorAdapter
-
visitElist
- Specified by:
visitElist
in interfaceVisitor
- Overrides:
visitElist
in classVisitorAdapter
-
visitEnumConstantDef
- Specified by:
visitEnumConstantDef
in interfaceVisitor
- Overrides:
visitEnumConstantDef
in classVisitorAdapter
-
visitEnumDef
- Specified by:
visitEnumDef
in interfaceVisitor
- Overrides:
visitEnumDef
in classVisitorAdapter
-
visitEqual
- Specified by:
visitEqual
in interfaceVisitor
- Overrides:
visitEqual
in classVisitorAdapter
-
visitExpr
- Specified by:
visitExpr
in interfaceVisitor
- Overrides:
visitExpr
in classVisitorAdapter
-
visitExtendsClause
- Specified by:
visitExtendsClause
in interfaceVisitor
- Overrides:
visitExtendsClause
in classVisitorAdapter
-
visitFinal
- Specified by:
visitFinal
in interfaceVisitor
- Overrides:
visitFinal
in classVisitorAdapter
-
visitForCondition
- Specified by:
visitForCondition
in interfaceVisitor
- Overrides:
visitForCondition
in classVisitorAdapter
-
visitForInit
- Specified by:
visitForInit
in interfaceVisitor
- Overrides:
visitForInit
in classVisitorAdapter
-
visitForInIterable
- Specified by:
visitForInIterable
in interfaceVisitor
- Overrides:
visitForInIterable
in classVisitorAdapter
-
visitForIterator
- Specified by:
visitForIterator
in interfaceVisitor
- Overrides:
visitForIterator
in classVisitorAdapter
-
visitGe
- Specified by:
visitGe
in interfaceVisitor
- Overrides:
visitGe
in classVisitorAdapter
-
visitGt
- Specified by:
visitGt
in interfaceVisitor
- Overrides:
visitGt
in classVisitorAdapter
-
visitIdent
- Specified by:
visitIdent
in interfaceVisitor
- Overrides:
visitIdent
in classVisitorAdapter
-
visitImplementsClause
- Specified by:
visitImplementsClause
in interfaceVisitor
- Overrides:
visitImplementsClause
in classVisitorAdapter
-
visitImplicitParameters
- Specified by:
visitImplicitParameters
in interfaceVisitor
- Overrides:
visitImplicitParameters
in classVisitorAdapter
-
visitImport
- Specified by:
visitImport
in interfaceVisitor
- Overrides:
visitImport
in classVisitorAdapter
-
visitInc
- Specified by:
visitInc
in interfaceVisitor
- Overrides:
visitInc
in classVisitorAdapter
-
visitIndexOp
- Specified by:
visitIndexOp
in interfaceVisitor
- Overrides:
visitIndexOp
in classVisitorAdapter
-
visitInterfaceDef
- Specified by:
visitInterfaceDef
in interfaceVisitor
- Overrides:
visitInterfaceDef
in classVisitorAdapter
-
visitInstanceInit
- Specified by:
visitInstanceInit
in interfaceVisitor
- Overrides:
visitInstanceInit
in classVisitorAdapter
-
visitLabeledArg
- Specified by:
visitLabeledArg
in interfaceVisitor
- Overrides:
visitLabeledArg
in classVisitorAdapter
-
visitLabeledStat
- Specified by:
visitLabeledStat
in interfaceVisitor
- Overrides:
visitLabeledStat
in classVisitorAdapter
-
visitLand
- Specified by:
visitLand
in interfaceVisitor
- Overrides:
visitLand
in classVisitorAdapter
-
visitLe
- Specified by:
visitLe
in interfaceVisitor
- Overrides:
visitLe
in classVisitorAdapter
-
visitListConstructor
- Specified by:
visitListConstructor
in interfaceVisitor
- Overrides:
visitListConstructor
in classVisitorAdapter
-
visitLiteralAs
- Specified by:
visitLiteralAs
in interfaceVisitor
- Overrides:
visitLiteralAs
in classVisitorAdapter
-
visitLiteralAssert
- Specified by:
visitLiteralAssert
in interfaceVisitor
- Overrides:
visitLiteralAssert
in classVisitorAdapter
-
visitLiteralBoolean
- Specified by:
visitLiteralBoolean
in interfaceVisitor
- Overrides:
visitLiteralBoolean
in classVisitorAdapter
-
visitLiteralBreak
- Specified by:
visitLiteralBreak
in interfaceVisitor
- Overrides:
visitLiteralBreak
in classVisitorAdapter
-
visitLiteralByte
- Specified by:
visitLiteralByte
in interfaceVisitor
- Overrides:
visitLiteralByte
in classVisitorAdapter
-
visitLiteralCase
- Specified by:
visitLiteralCase
in interfaceVisitor
- Overrides:
visitLiteralCase
in classVisitorAdapter
-
visitLiteralCatch
- Specified by:
visitLiteralCatch
in interfaceVisitor
- Overrides:
visitLiteralCatch
in classVisitorAdapter
-
visitLiteralChar
- Specified by:
visitLiteralChar
in interfaceVisitor
- Overrides:
visitLiteralChar
in classVisitorAdapter
-
visitLiteralContinue
- Specified by:
visitLiteralContinue
in interfaceVisitor
- Overrides:
visitLiteralContinue
in classVisitorAdapter
-
visitLiteralDefault
- Specified by:
visitLiteralDefault
in interfaceVisitor
- Overrides:
visitLiteralDefault
in classVisitorAdapter
-
visitLiteralDouble
- Specified by:
visitLiteralDouble
in interfaceVisitor
- Overrides:
visitLiteralDouble
in classVisitorAdapter
-
visitLiteralFalse
- Specified by:
visitLiteralFalse
in interfaceVisitor
- Overrides:
visitLiteralFalse
in classVisitorAdapter
-
visitLiteralFinally
- Specified by:
visitLiteralFinally
in interfaceVisitor
- Overrides:
visitLiteralFinally
in classVisitorAdapter
-
visitLiteralFloat
- Specified by:
visitLiteralFloat
in interfaceVisitor
- Overrides:
visitLiteralFloat
in classVisitorAdapter
-
visitLiteralFor
- Specified by:
visitLiteralFor
in interfaceVisitor
- Overrides:
visitLiteralFor
in classVisitorAdapter
-
visitLiteralIf
- Specified by:
visitLiteralIf
in interfaceVisitor
- Overrides:
visitLiteralIf
in classVisitorAdapter
-
visitLiteralIn
- Specified by:
visitLiteralIn
in interfaceVisitor
- Overrides:
visitLiteralIn
in classVisitorAdapter
-
visitLiteralInstanceof
- Specified by:
visitLiteralInstanceof
in interfaceVisitor
- Overrides:
visitLiteralInstanceof
in classVisitorAdapter
-
visitLiteralInt
- Specified by:
visitLiteralInt
in interfaceVisitor
- Overrides:
visitLiteralInt
in classVisitorAdapter
-
visitLiteralLong
- Specified by:
visitLiteralLong
in interfaceVisitor
- Overrides:
visitLiteralLong
in classVisitorAdapter
-
visitLiteralNative
- Specified by:
visitLiteralNative
in interfaceVisitor
- Overrides:
visitLiteralNative
in classVisitorAdapter
-
visitLiteralNew
- Specified by:
visitLiteralNew
in interfaceVisitor
- Overrides:
visitLiteralNew
in classVisitorAdapter
-
visitLiteralNull
- Specified by:
visitLiteralNull
in interfaceVisitor
- Overrides:
visitLiteralNull
in classVisitorAdapter
-
visitLiteralPrivate
- Specified by:
visitLiteralPrivate
in interfaceVisitor
- Overrides:
visitLiteralPrivate
in classVisitorAdapter
-
visitLiteralProtected
- Specified by:
visitLiteralProtected
in interfaceVisitor
- Overrides:
visitLiteralProtected
in classVisitorAdapter
-
visitLiteralPublic
- Specified by:
visitLiteralPublic
in interfaceVisitor
- Overrides:
visitLiteralPublic
in classVisitorAdapter
-
visitLiteralReturn
- Specified by:
visitLiteralReturn
in interfaceVisitor
- Overrides:
visitLiteralReturn
in classVisitorAdapter
-
visitLiteralShort
- Specified by:
visitLiteralShort
in interfaceVisitor
- Overrides:
visitLiteralShort
in classVisitorAdapter
-
visitLiteralStatic
- Specified by:
visitLiteralStatic
in interfaceVisitor
- Overrides:
visitLiteralStatic
in classVisitorAdapter
-
visitLiteralSuper
- Specified by:
visitLiteralSuper
in interfaceVisitor
- Overrides:
visitLiteralSuper
in classVisitorAdapter
-
visitLiteralSwitch
- Specified by:
visitLiteralSwitch
in interfaceVisitor
- Overrides:
visitLiteralSwitch
in classVisitorAdapter
-
visitLiteralSynchronized
- Specified by:
visitLiteralSynchronized
in interfaceVisitor
- Overrides:
visitLiteralSynchronized
in classVisitorAdapter
-
visitLiteralThis
- Specified by:
visitLiteralThis
in interfaceVisitor
- Overrides:
visitLiteralThis
in classVisitorAdapter
-
visitLiteralThreadsafe
- Specified by:
visitLiteralThreadsafe
in interfaceVisitor
- Overrides:
visitLiteralThreadsafe
in classVisitorAdapter
-
visitLiteralThrow
- Specified by:
visitLiteralThrow
in interfaceVisitor
- Overrides:
visitLiteralThrow
in classVisitorAdapter
-
visitLiteralThrows
- Specified by:
visitLiteralThrows
in interfaceVisitor
- Overrides:
visitLiteralThrows
in classVisitorAdapter
-
visitLiteralTransient
- Specified by:
visitLiteralTransient
in interfaceVisitor
- Overrides:
visitLiteralTransient
in classVisitorAdapter
-
visitLiteralTrue
- Specified by:
visitLiteralTrue
in interfaceVisitor
- Overrides:
visitLiteralTrue
in classVisitorAdapter
-
visitLiteralTry
- Specified by:
visitLiteralTry
in interfaceVisitor
- Overrides:
visitLiteralTry
in classVisitorAdapter
-
visitLiteralVoid
- Specified by:
visitLiteralVoid
in interfaceVisitor
- Overrides:
visitLiteralVoid
in classVisitorAdapter
-
visitLiteralVolatile
- Specified by:
visitLiteralVolatile
in interfaceVisitor
- Overrides:
visitLiteralVolatile
in classVisitorAdapter
-
visitLiteralWhile
- Specified by:
visitLiteralWhile
in interfaceVisitor
- Overrides:
visitLiteralWhile
in classVisitorAdapter
-
visitLnot
- Specified by:
visitLnot
in interfaceVisitor
- Overrides:
visitLnot
in classVisitorAdapter
-
visitLor
- Specified by:
visitLor
in interfaceVisitor
- Overrides:
visitLor
in classVisitorAdapter
-
visitLt
- Specified by:
visitLt
in interfaceVisitor
- Overrides:
visitLt
in classVisitorAdapter
-
visitMapConstructor
- Specified by:
visitMapConstructor
in interfaceVisitor
- Overrides:
visitMapConstructor
in classVisitorAdapter
-
visitMemberPointer
- Specified by:
visitMemberPointer
in interfaceVisitor
- Overrides:
visitMemberPointer
in classVisitorAdapter
-
visitMethodCall
- Specified by:
visitMethodCall
in interfaceVisitor
- Overrides:
visitMethodCall
in classVisitorAdapter
-
visitMethodDef
- Specified by:
visitMethodDef
in interfaceVisitor
- Overrides:
visitMethodDef
in classVisitorAdapter
-
visitMinus
- Specified by:
visitMinus
in interfaceVisitor
- Overrides:
visitMinus
in classVisitorAdapter
-
visitMinusAssign
- Specified by:
visitMinusAssign
in interfaceVisitor
- Overrides:
visitMinusAssign
in classVisitorAdapter
-
visitMod
- Specified by:
visitMod
in interfaceVisitor
- Overrides:
visitMod
in classVisitorAdapter
-
visitModifiers
- Specified by:
visitModifiers
in interfaceVisitor
- Overrides:
visitModifiers
in classVisitorAdapter
-
visitModAssign
- Specified by:
visitModAssign
in interfaceVisitor
- Overrides:
visitModAssign
in classVisitorAdapter
-
visitMultiCatch
- Specified by:
visitMultiCatch
in interfaceVisitor
- Overrides:
visitMultiCatch
in classVisitorAdapter
-
visitMultiCatchTypes
- Specified by:
visitMultiCatchTypes
in interfaceVisitor
- Overrides:
visitMultiCatchTypes
in classVisitorAdapter
-
visitNotEqual
- Specified by:
visitNotEqual
in interfaceVisitor
- Overrides:
visitNotEqual
in classVisitorAdapter
-
visitNumBigDecimal
- Specified by:
visitNumBigDecimal
in interfaceVisitor
- Overrides:
visitNumBigDecimal
in classVisitorAdapter
-
visitNumBigInt
- Specified by:
visitNumBigInt
in interfaceVisitor
- Overrides:
visitNumBigInt
in classVisitorAdapter
-
visitNumDouble
- Specified by:
visitNumDouble
in interfaceVisitor
- Overrides:
visitNumDouble
in classVisitorAdapter
-
visitNumInt
- Specified by:
visitNumInt
in interfaceVisitor
- Overrides:
visitNumInt
in classVisitorAdapter
-
visitNumFloat
- Specified by:
visitNumFloat
in interfaceVisitor
- Overrides:
visitNumFloat
in classVisitorAdapter
-
visitNumLong
- Specified by:
visitNumLong
in interfaceVisitor
- Overrides:
visitNumLong
in classVisitorAdapter
-
visitObjblock
- Specified by:
visitObjblock
in interfaceVisitor
- Overrides:
visitObjblock
in classVisitorAdapter
-
visitOptionalDot
- Specified by:
visitOptionalDot
in interfaceVisitor
- Overrides:
visitOptionalDot
in classVisitorAdapter
-
visitPackageDef
- Specified by:
visitPackageDef
in interfaceVisitor
- Overrides:
visitPackageDef
in classVisitorAdapter
-
visitParameterDef
- Specified by:
visitParameterDef
in interfaceVisitor
- Overrides:
visitParameterDef
in classVisitorAdapter
-
visitParameters
- Specified by:
visitParameters
in interfaceVisitor
- Overrides:
visitParameters
in classVisitorAdapter
-
visitPlus
- Specified by:
visitPlus
in interfaceVisitor
- Overrides:
visitPlus
in classVisitorAdapter
-
visitPlusAssign
- Specified by:
visitPlusAssign
in interfaceVisitor
- Overrides:
visitPlusAssign
in classVisitorAdapter
-
visitPostDec
- Specified by:
visitPostDec
in interfaceVisitor
- Overrides:
visitPostDec
in classVisitorAdapter
-
visitPostInc
- Specified by:
visitPostInc
in interfaceVisitor
- Overrides:
visitPostInc
in classVisitorAdapter
-
visitQuestion
- Specified by:
visitQuestion
in interfaceVisitor
- Overrides:
visitQuestion
in classVisitorAdapter
-
visitRangeExclusive
- Specified by:
visitRangeExclusive
in interfaceVisitor
- Overrides:
visitRangeExclusive
in classVisitorAdapter
-
visitRangeInclusive
- Specified by:
visitRangeInclusive
in interfaceVisitor
- Overrides:
visitRangeInclusive
in classVisitorAdapter
-
visitRegexFind
- Specified by:
visitRegexFind
in interfaceVisitor
- Overrides:
visitRegexFind
in classVisitorAdapter
-
visitRegexMatch
- Specified by:
visitRegexMatch
in interfaceVisitor
- Overrides:
visitRegexMatch
in classVisitorAdapter
-
visitSelectSlot
- Specified by:
visitSelectSlot
in interfaceVisitor
- Overrides:
visitSelectSlot
in classVisitorAdapter
-
visitSl
- Specified by:
visitSl
in interfaceVisitor
- Overrides:
visitSl
in classVisitorAdapter
-
visitSlAssign
- Specified by:
visitSlAssign
in interfaceVisitor
- Overrides:
visitSlAssign
in classVisitorAdapter
-
visitSlist
- Specified by:
visitSlist
in interfaceVisitor
- Overrides:
visitSlist
in classVisitorAdapter
-
visitSpreadArg
- Specified by:
visitSpreadArg
in interfaceVisitor
- Overrides:
visitSpreadArg
in classVisitorAdapter
-
visitSpreadDot
- Specified by:
visitSpreadDot
in interfaceVisitor
- Overrides:
visitSpreadDot
in classVisitorAdapter
-
visitSpreadMapArg
- Specified by:
visitSpreadMapArg
in interfaceVisitor
- Overrides:
visitSpreadMapArg
in classVisitorAdapter
-
visitSr
- Specified by:
visitSr
in interfaceVisitor
- Overrides:
visitSr
in classVisitorAdapter
-
visitSrAssign
- Specified by:
visitSrAssign
in interfaceVisitor
- Overrides:
visitSrAssign
in classVisitorAdapter
-
visitStar
- Specified by:
visitStar
in interfaceVisitor
- Overrides:
visitStar
in classVisitorAdapter
-
visitStarAssign
- Specified by:
visitStarAssign
in interfaceVisitor
- Overrides:
visitStarAssign
in classVisitorAdapter
-
visitStarStar
- Specified by:
visitStarStar
in interfaceVisitor
- Overrides:
visitStarStar
in classVisitorAdapter
-
visitStarStarAssign
- Specified by:
visitStarStarAssign
in interfaceVisitor
- Overrides:
visitStarStarAssign
in classVisitorAdapter
-
visitStaticInit
- Specified by:
visitStaticInit
in interfaceVisitor
- Overrides:
visitStaticInit
in classVisitorAdapter
-
visitStaticImport
- Specified by:
visitStaticImport
in interfaceVisitor
- Overrides:
visitStaticImport
in classVisitorAdapter
-
visitStrictfp
- Specified by:
visitStrictfp
in interfaceVisitor
- Overrides:
visitStrictfp
in classVisitorAdapter
-
visitStringConstructor
- Specified by:
visitStringConstructor
in interfaceVisitor
- Overrides:
visitStringConstructor
in classVisitorAdapter
-
visitStringLiteral
- Specified by:
visitStringLiteral
in interfaceVisitor
- Overrides:
visitStringLiteral
in classVisitorAdapter
-
visitSuperCtorCall
- Specified by:
visitSuperCtorCall
in interfaceVisitor
- Overrides:
visitSuperCtorCall
in classVisitorAdapter
-
visitTraitDef
- Specified by:
visitTraitDef
in interfaceVisitor
- Overrides:
visitTraitDef
in classVisitorAdapter
-
visitType
- Specified by:
visitType
in interfaceVisitor
- Overrides:
visitType
in classVisitorAdapter
-
visitTypeArgument
- Specified by:
visitTypeArgument
in interfaceVisitor
- Overrides:
visitTypeArgument
in classVisitorAdapter
-
visitTypeArguments
- Specified by:
visitTypeArguments
in interfaceVisitor
- Overrides:
visitTypeArguments
in classVisitorAdapter
-
visitTypecast
- Specified by:
visitTypecast
in interfaceVisitor
- Overrides:
visitTypecast
in classVisitorAdapter
-
visitTypeLowerBounds
- Specified by:
visitTypeLowerBounds
in interfaceVisitor
- Overrides:
visitTypeLowerBounds
in classVisitorAdapter
-
visitTypeParameter
- Specified by:
visitTypeParameter
in interfaceVisitor
- Overrides:
visitTypeParameter
in classVisitorAdapter
-
visitTypeParameters
- Specified by:
visitTypeParameters
in interfaceVisitor
- Overrides:
visitTypeParameters
in classVisitorAdapter
-
visitTypeUpperBounds
- Specified by:
visitTypeUpperBounds
in interfaceVisitor
- Overrides:
visitTypeUpperBounds
in classVisitorAdapter
-
visitUnaryMinus
- Specified by:
visitUnaryMinus
in interfaceVisitor
- Overrides:
visitUnaryMinus
in classVisitorAdapter
-
visitUnaryPlus
- Specified by:
visitUnaryPlus
in interfaceVisitor
- Overrides:
visitUnaryPlus
in classVisitorAdapter
-
visitVariableDef
- Specified by:
visitVariableDef
in interfaceVisitor
- Overrides:
visitVariableDef
in classVisitorAdapter
-
visitVariableParameterDef
- Specified by:
visitVariableParameterDef
in interfaceVisitor
- Overrides:
visitVariableParameterDef
in classVisitorAdapter
-
visitWildcardType
- Specified by:
visitWildcardType
in interfaceVisitor
- Overrides:
visitWildcardType
in classVisitorAdapter
-
visitDefault
- Specified by:
visitDefault
in interfaceVisitor
- Overrides:
visitDefault
in classVisitorAdapter
-
printUpdatingTabLevel
protected void printUpdatingTabLevel(GroovySourceAST t, int visit, String opening, String subsequent, String closing) -
print
protected void print(GroovySourceAST t, int visit, String opening, String subsequent, String closing) -
print
-
printNewlineAndIndent
-
push
- Specified by:
push
in interfaceVisitor
- Overrides:
push
in classVisitorAdapter
-
pop
- Specified by:
pop
in interfaceVisitor
- Overrides:
pop
in classVisitorAdapter
-