Class SourcePrinter
java.lang.Object
org.codehaus.groovy.antlr.treewalker.VisitorAdapter
org.codehaus.groovy.antlr.treewalker.SourcePrinter
- All Implemented Interfaces:
Visitor
public class SourcePrinter extends VisitorAdapter
An antlr AST visitor that prints groovy source code for each visited node
to the supplied PrintStream.
-
Field Summary
Fields Modifier and Type Field Description protected PrintStream
out
Fields inherited from interface org.codehaus.groovy.antlr.treewalker.Visitor
CLOSING_VISIT, OPENING_VISIT, SECOND_VISIT, SUBSEQUENT_VISIT
-
Constructor Summary
Constructors Constructor Description SourcePrinter(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
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
-
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
-