public class CompositeVisitor extends java.lang.Object implements Visitor
CLOSING_VISIT, OPENING_VISIT, SECOND_VISIT, SUBSEQUENT_VISIT
Constructor and Description |
---|
CompositeVisitor(java.util.List visitors)
A composite of the supplied list of antlr AST visitors.
|
public CompositeVisitor(java.util.List visitors)
visitors
- a List of implementations of the Visitor interfacepublic void visitAbstract(GroovySourceAST t, int visit)
visitAbstract
in interface Visitor
public void visitAnnotation(GroovySourceAST t, int visit)
visitAnnotation
in interface Visitor
public void visitAnnotations(GroovySourceAST t, int visit)
visitAnnotations
in interface Visitor
public void visitAnnotationArrayInit(GroovySourceAST t, int visit)
visitAnnotationArrayInit
in interface Visitor
public void visitAnnotationDef(GroovySourceAST t, int visit)
visitAnnotationDef
in interface Visitor
public void visitAnnotationFieldDef(GroovySourceAST t, int visit)
visitAnnotationFieldDef
in interface Visitor
public void visitAnnotationMemberValuePair(GroovySourceAST t, int visit)
visitAnnotationMemberValuePair
in interface Visitor
public void visitArrayDeclarator(GroovySourceAST t, int visit)
visitArrayDeclarator
in interface Visitor
public void visitAssign(GroovySourceAST t, int visit)
visitAssign
in interface Visitor
public void visitAt(GroovySourceAST t, int visit)
public void visitBand(GroovySourceAST t, int visit)
public void visitBandAssign(GroovySourceAST t, int visit)
visitBandAssign
in interface Visitor
public void visitBigSuffix(GroovySourceAST t, int visit)
visitBigSuffix
in interface Visitor
public void visitBlock(GroovySourceAST t, int visit)
visitBlock
in interface Visitor
public void visitBnot(GroovySourceAST t, int visit)
public void visitBor(GroovySourceAST t, int visit)
public void visitBorAssign(GroovySourceAST t, int visit)
visitBorAssign
in interface Visitor
public void visitBsr(GroovySourceAST t, int visit)
public void visitBsrAssign(GroovySourceAST t, int visit)
visitBsrAssign
in interface Visitor
public void visitBxor(GroovySourceAST t, int visit)
public void visitBxorAssign(GroovySourceAST t, int visit)
visitBxorAssign
in interface Visitor
public void visitCaseGroup(GroovySourceAST t, int visit)
visitCaseGroup
in interface Visitor
public void visitClassDef(GroovySourceAST t, int visit)
visitClassDef
in interface Visitor
public void visitClosedBlock(GroovySourceAST t, int visit)
visitClosedBlock
in interface Visitor
public void visitClosureList(GroovySourceAST t, int visit)
visitClosureList
in interface Visitor
public void visitClosureOp(GroovySourceAST t, int visit)
visitClosureOp
in interface Visitor
public void visitColon(GroovySourceAST t, int visit)
visitColon
in interface Visitor
public void visitComma(GroovySourceAST t, int visit)
visitComma
in interface Visitor
public void visitCompareTo(GroovySourceAST t, int visit)
visitCompareTo
in interface Visitor
public void visitCtorCall(GroovySourceAST t, int visit)
visitCtorCall
in interface Visitor
public void visitCtorIdent(GroovySourceAST t, int visit)
visitCtorIdent
in interface Visitor
public void visitDec(GroovySourceAST t, int visit)
public void visitDigit(GroovySourceAST t, int visit)
visitDigit
in interface Visitor
public void visitDiv(GroovySourceAST t, int visit)
public void visitDivAssign(GroovySourceAST t, int visit)
visitDivAssign
in interface Visitor
public void visitDollar(GroovySourceAST t, int visit)
visitDollar
in interface Visitor
public void visitDot(GroovySourceAST t, int visit)
public void visitDynamicMember(GroovySourceAST t, int visit)
visitDynamicMember
in interface Visitor
public void visitElist(GroovySourceAST t, int visit)
visitElist
in interface Visitor
public void visitEmptyStat(GroovySourceAST t, int visit)
visitEmptyStat
in interface Visitor
public void visitEnumConstantDef(GroovySourceAST t, int visit)
visitEnumConstantDef
in interface Visitor
public void visitEnumDef(GroovySourceAST t, int visit)
visitEnumDef
in interface Visitor
public void visitEof(GroovySourceAST t, int visit)
public void visitEqual(GroovySourceAST t, int visit)
visitEqual
in interface Visitor
public void visitEsc(GroovySourceAST t, int visit)
public void visitExponent(GroovySourceAST t, int visit)
visitExponent
in interface Visitor
public void visitExpr(GroovySourceAST t, int visit)
public void visitExtendsClause(GroovySourceAST t, int visit)
visitExtendsClause
in interface Visitor
public void visitFinal(GroovySourceAST t, int visit)
visitFinal
in interface Visitor
public void visitFloatSuffix(GroovySourceAST t, int visit)
visitFloatSuffix
in interface Visitor
public void visitForCondition(GroovySourceAST t, int visit)
visitForCondition
in interface Visitor
public void visitForEachClause(GroovySourceAST t, int visit)
visitForEachClause
in interface Visitor
public void visitForInit(GroovySourceAST t, int visit)
visitForInit
in interface Visitor
public void visitForInIterable(GroovySourceAST t, int visit)
visitForInIterable
in interface Visitor
public void visitForIterator(GroovySourceAST t, int visit)
visitForIterator
in interface Visitor
public void visitGe(GroovySourceAST t, int visit)
public void visitGt(GroovySourceAST t, int visit)
public void visitHexDigit(GroovySourceAST t, int visit)
visitHexDigit
in interface Visitor
public void visitIdent(GroovySourceAST t, int visit)
visitIdent
in interface Visitor
public void visitImplementsClause(GroovySourceAST t, int visit)
visitImplementsClause
in interface Visitor
public void visitImplicitParameters(GroovySourceAST t, int visit)
visitImplicitParameters
in interface Visitor
public void visitImport(GroovySourceAST t, int visit)
visitImport
in interface Visitor
public void visitInc(GroovySourceAST t, int visit)
public void visitIndexOp(GroovySourceAST t, int visit)
visitIndexOp
in interface Visitor
public void visitInstanceInit(GroovySourceAST t, int visit)
visitInstanceInit
in interface Visitor
public void visitInterfaceDef(GroovySourceAST t, int visit)
visitInterfaceDef
in interface Visitor
public void visitLabeledArg(GroovySourceAST t, int visit)
visitLabeledArg
in interface Visitor
public void visitLabeledStat(GroovySourceAST t, int visit)
visitLabeledStat
in interface Visitor
public void visitLand(GroovySourceAST t, int visit)
public void visitLbrack(GroovySourceAST t, int visit)
visitLbrack
in interface Visitor
public void visitLcurly(GroovySourceAST t, int visit)
visitLcurly
in interface Visitor
public void visitLe(GroovySourceAST t, int visit)
public void visitLetter(GroovySourceAST t, int visit)
visitLetter
in interface Visitor
public void visitListConstructor(GroovySourceAST t, int visit)
visitListConstructor
in interface Visitor
public void visitLiteralAs(GroovySourceAST t, int visit)
visitLiteralAs
in interface Visitor
public void visitLiteralAssert(GroovySourceAST t, int visit)
visitLiteralAssert
in interface Visitor
public void visitLiteralBoolean(GroovySourceAST t, int visit)
visitLiteralBoolean
in interface Visitor
public void visitLiteralBreak(GroovySourceAST t, int visit)
visitLiteralBreak
in interface Visitor
public void visitLiteralByte(GroovySourceAST t, int visit)
visitLiteralByte
in interface Visitor
public void visitLiteralCase(GroovySourceAST t, int visit)
visitLiteralCase
in interface Visitor
public void visitLiteralCatch(GroovySourceAST t, int visit)
visitLiteralCatch
in interface Visitor
public void visitLiteralChar(GroovySourceAST t, int visit)
visitLiteralChar
in interface Visitor
public void visitLiteralClass(GroovySourceAST t, int visit)
visitLiteralClass
in interface Visitor
public void visitLiteralContinue(GroovySourceAST t, int visit)
visitLiteralContinue
in interface Visitor
public void visitLiteralDef(GroovySourceAST t, int visit)
visitLiteralDef
in interface Visitor
public void visitLiteralDefault(GroovySourceAST t, int visit)
visitLiteralDefault
in interface Visitor
public void visitLiteralDouble(GroovySourceAST t, int visit)
visitLiteralDouble
in interface Visitor
public void visitLiteralElse(GroovySourceAST t, int visit)
visitLiteralElse
in interface Visitor
public void visitLiteralEnum(GroovySourceAST t, int visit)
visitLiteralEnum
in interface Visitor
public void visitLiteralExtends(GroovySourceAST t, int visit)
visitLiteralExtends
in interface Visitor
public void visitLiteralFalse(GroovySourceAST t, int visit)
visitLiteralFalse
in interface Visitor
public void visitLiteralFinally(GroovySourceAST t, int visit)
visitLiteralFinally
in interface Visitor
public void visitLiteralFloat(GroovySourceAST t, int visit)
visitLiteralFloat
in interface Visitor
public void visitLiteralFor(GroovySourceAST t, int visit)
visitLiteralFor
in interface Visitor
public void visitLiteralIf(GroovySourceAST t, int visit)
visitLiteralIf
in interface Visitor
public void visitLiteralImplements(GroovySourceAST t, int visit)
visitLiteralImplements
in interface Visitor
public void visitLiteralImport(GroovySourceAST t, int visit)
visitLiteralImport
in interface Visitor
public void visitLiteralIn(GroovySourceAST t, int visit)
visitLiteralIn
in interface Visitor
public void visitLiteralInstanceof(GroovySourceAST t, int visit)
visitLiteralInstanceof
in interface Visitor
public void visitLiteralInt(GroovySourceAST t, int visit)
visitLiteralInt
in interface Visitor
public void visitLiteralInterface(GroovySourceAST t, int visit)
visitLiteralInterface
in interface Visitor
public void visitLiteralLong(GroovySourceAST t, int visit)
visitLiteralLong
in interface Visitor
public void visitLiteralNative(GroovySourceAST t, int visit)
visitLiteralNative
in interface Visitor
public void visitLiteralNew(GroovySourceAST t, int visit)
visitLiteralNew
in interface Visitor
public void visitLiteralNull(GroovySourceAST t, int visit)
visitLiteralNull
in interface Visitor
public void visitLiteralPackage(GroovySourceAST t, int visit)
visitLiteralPackage
in interface Visitor
public void visitLiteralPrivate(GroovySourceAST t, int visit)
visitLiteralPrivate
in interface Visitor
public void visitLiteralProtected(GroovySourceAST t, int visit)
visitLiteralProtected
in interface Visitor
public void visitLiteralPublic(GroovySourceAST t, int visit)
visitLiteralPublic
in interface Visitor
public void visitLiteralReturn(GroovySourceAST t, int visit)
visitLiteralReturn
in interface Visitor
public void visitLiteralShort(GroovySourceAST t, int visit)
visitLiteralShort
in interface Visitor
public void visitLiteralStatic(GroovySourceAST t, int visit)
visitLiteralStatic
in interface Visitor
public void visitLiteralSuper(GroovySourceAST t, int visit)
visitLiteralSuper
in interface Visitor
public void visitLiteralSwitch(GroovySourceAST t, int visit)
visitLiteralSwitch
in interface Visitor
public void visitLiteralSynchronized(GroovySourceAST t, int visit)
visitLiteralSynchronized
in interface Visitor
public void visitLiteralThis(GroovySourceAST t, int visit)
visitLiteralThis
in interface Visitor
public void visitLiteralThreadsafe(GroovySourceAST t, int visit)
visitLiteralThreadsafe
in interface Visitor
public void visitLiteralThrow(GroovySourceAST t, int visit)
visitLiteralThrow
in interface Visitor
public void visitLiteralThrows(GroovySourceAST t, int visit)
visitLiteralThrows
in interface Visitor
public void visitLiteralTransient(GroovySourceAST t, int visit)
visitLiteralTransient
in interface Visitor
public void visitLiteralTrue(GroovySourceAST t, int visit)
visitLiteralTrue
in interface Visitor
public void visitLiteralTry(GroovySourceAST t, int visit)
visitLiteralTry
in interface Visitor
public void visitLiteralVoid(GroovySourceAST t, int visit)
visitLiteralVoid
in interface Visitor
public void visitLiteralVolatile(GroovySourceAST t, int visit)
visitLiteralVolatile
in interface Visitor
public void visitLiteralWhile(GroovySourceAST t, int visit)
visitLiteralWhile
in interface Visitor
public void visitLnot(GroovySourceAST t, int visit)
public void visitLor(GroovySourceAST t, int visit)
public void visitLparen(GroovySourceAST t, int visit)
visitLparen
in interface Visitor
public void visitLt(GroovySourceAST t, int visit)
public void visitMapConstructor(GroovySourceAST t, int visit)
visitMapConstructor
in interface Visitor
public void visitMemberPointer(GroovySourceAST t, int visit)
visitMemberPointer
in interface Visitor
public void visitMethodCall(GroovySourceAST t, int visit)
visitMethodCall
in interface Visitor
public void visitMethodDef(GroovySourceAST t, int visit)
visitMethodDef
in interface Visitor
public void visitMinus(GroovySourceAST t, int visit)
visitMinus
in interface Visitor
public void visitMinusAssign(GroovySourceAST t, int visit)
visitMinusAssign
in interface Visitor
public void visitMlComment(GroovySourceAST t, int visit)
visitMlComment
in interface Visitor
public void visitMod(GroovySourceAST t, int visit)
public void visitModifiers(GroovySourceAST t, int visit)
visitModifiers
in interface Visitor
public void visitModAssign(GroovySourceAST t, int visit)
visitModAssign
in interface Visitor
public void visitMultiCatch(GroovySourceAST t, int visit)
visitMultiCatch
in interface Visitor
public void visitMultiCatchTypes(GroovySourceAST t, int visit)
visitMultiCatchTypes
in interface Visitor
public void visitNls(GroovySourceAST t, int visit)
public void visitNotEqual(GroovySourceAST t, int visit)
visitNotEqual
in interface Visitor
public void visitNullTreeLookahead(GroovySourceAST t, int visit)
visitNullTreeLookahead
in interface Visitor
public void visitNumBigDecimal(GroovySourceAST t, int visit)
visitNumBigDecimal
in interface Visitor
public void visitNumBigInt(GroovySourceAST t, int visit)
visitNumBigInt
in interface Visitor
public void visitNumDouble(GroovySourceAST t, int visit)
visitNumDouble
in interface Visitor
public void visitNumFloat(GroovySourceAST t, int visit)
visitNumFloat
in interface Visitor
public void visitNumInt(GroovySourceAST t, int visit)
visitNumInt
in interface Visitor
public void visitNumLong(GroovySourceAST t, int visit)
visitNumLong
in interface Visitor
public void visitObjblock(GroovySourceAST t, int visit)
visitObjblock
in interface Visitor
public void visitOneNl(GroovySourceAST t, int visit)
visitOneNl
in interface Visitor
public void visitOptionalDot(GroovySourceAST t, int visit)
visitOptionalDot
in interface Visitor
public void visitPackageDef(GroovySourceAST t, int visit)
visitPackageDef
in interface Visitor
public void visitParameters(GroovySourceAST t, int visit)
visitParameters
in interface Visitor
public void visitParameterDef(GroovySourceAST t, int visit)
visitParameterDef
in interface Visitor
public void visitPlus(GroovySourceAST t, int visit)
public void visitPlusAssign(GroovySourceAST t, int visit)
visitPlusAssign
in interface Visitor
public void visitPostDec(GroovySourceAST t, int visit)
visitPostDec
in interface Visitor
public void visitPostInc(GroovySourceAST t, int visit)
visitPostInc
in interface Visitor
public void visitQuestion(GroovySourceAST t, int visit)
visitQuestion
in interface Visitor
public void visitRangeExclusive(GroovySourceAST t, int visit)
visitRangeExclusive
in interface Visitor
public void visitRangeInclusive(GroovySourceAST t, int visit)
visitRangeInclusive
in interface Visitor
public void visitRbrack(GroovySourceAST t, int visit)
visitRbrack
in interface Visitor
public void visitRcurly(GroovySourceAST t, int visit)
visitRcurly
in interface Visitor
public void visitRegexpCtorEnd(GroovySourceAST t, int visit)
visitRegexpCtorEnd
in interface Visitor
public void visitRegexpLiteral(GroovySourceAST t, int visit)
visitRegexpLiteral
in interface Visitor
public void visitRegexpSymbol(GroovySourceAST t, int visit)
visitRegexpSymbol
in interface Visitor
public void visitRegexFind(GroovySourceAST t, int visit)
visitRegexFind
in interface Visitor
public void visitRegexMatch(GroovySourceAST t, int visit)
visitRegexMatch
in interface Visitor
public void visitRparen(GroovySourceAST t, int visit)
visitRparen
in interface Visitor
public void visitSelectSlot(GroovySourceAST t, int visit)
visitSelectSlot
in interface Visitor
public void visitSemi(GroovySourceAST t, int visit)
public void visitShComment(GroovySourceAST t, int visit)
visitShComment
in interface Visitor
public void visitSl(GroovySourceAST t, int visit)
public void visitSlist(GroovySourceAST t, int visit)
visitSlist
in interface Visitor
public void visitSlAssign(GroovySourceAST t, int visit)
visitSlAssign
in interface Visitor
public void visitSlComment(GroovySourceAST t, int visit)
visitSlComment
in interface Visitor
public void visitSpreadArg(GroovySourceAST t, int visit)
visitSpreadArg
in interface Visitor
public void visitSpreadDot(GroovySourceAST t, int visit)
visitSpreadDot
in interface Visitor
public void visitSpreadMapArg(GroovySourceAST t, int visit)
visitSpreadMapArg
in interface Visitor
public void visitSr(GroovySourceAST t, int visit)
public void visitSrAssign(GroovySourceAST t, int visit)
visitSrAssign
in interface Visitor
public void visitStar(GroovySourceAST t, int visit)
public void visitStarAssign(GroovySourceAST t, int visit)
visitStarAssign
in interface Visitor
public void visitStarStar(GroovySourceAST t, int visit)
visitStarStar
in interface Visitor
public void visitStarStarAssign(GroovySourceAST t, int visit)
visitStarStarAssign
in interface Visitor
public void visitStaticImport(GroovySourceAST t, int visit)
visitStaticImport
in interface Visitor
public void visitStaticInit(GroovySourceAST t, int visit)
visitStaticInit
in interface Visitor
public void visitStrictfp(GroovySourceAST t, int visit)
visitStrictfp
in interface Visitor
public void visitStringCh(GroovySourceAST t, int visit)
visitStringCh
in interface Visitor
public void visitStringConstructor(GroovySourceAST t, int visit)
visitStringConstructor
in interface Visitor
public void visitStringCtorEnd(GroovySourceAST t, int visit)
visitStringCtorEnd
in interface Visitor
public void visitStringCtorMiddle(GroovySourceAST t, int visit)
visitStringCtorMiddle
in interface Visitor
public void visitStringCtorStart(GroovySourceAST t, int visit)
visitStringCtorStart
in interface Visitor
public void visitStringLiteral(GroovySourceAST t, int visit)
visitStringLiteral
in interface Visitor
public void visitStringNl(GroovySourceAST t, int visit)
visitStringNl
in interface Visitor
public void visitSuperCtorCall(GroovySourceAST t, int visit)
visitSuperCtorCall
in interface Visitor
public void visitTripleDot(GroovySourceAST t, int visit)
visitTripleDot
in interface Visitor
public void visitType(GroovySourceAST t, int visit)
public void visitTypecast(GroovySourceAST t, int visit)
visitTypecast
in interface Visitor
public void visitTypeArgument(GroovySourceAST t, int visit)
visitTypeArgument
in interface Visitor
public void visitTypeArguments(GroovySourceAST t, int visit)
visitTypeArguments
in interface Visitor
public void visitTypeLowerBounds(GroovySourceAST t, int visit)
visitTypeLowerBounds
in interface Visitor
public void visitTypeParameter(GroovySourceAST t, int visit)
visitTypeParameter
in interface Visitor
public void visitTypeParameters(GroovySourceAST t, int visit)
visitTypeParameters
in interface Visitor
public void visitTypeUpperBounds(GroovySourceAST t, int visit)
visitTypeUpperBounds
in interface Visitor
public void visitUnaryMinus(GroovySourceAST t, int visit)
visitUnaryMinus
in interface Visitor
public void visitUnaryPlus(GroovySourceAST t, int visit)
visitUnaryPlus
in interface Visitor
public void visitUnusedConst(GroovySourceAST t, int visit)
visitUnusedConst
in interface Visitor
public void visitUnusedDo(GroovySourceAST t, int visit)
visitUnusedDo
in interface Visitor
public void visitUnusedGoto(GroovySourceAST t, int visit)
visitUnusedGoto
in interface Visitor
public void visitVariableDef(GroovySourceAST t, int visit)
visitVariableDef
in interface Visitor
public void visitVariableParameterDef(GroovySourceAST t, int visit)
visitVariableParameterDef
in interface Visitor
public void visitVocab(GroovySourceAST t, int visit)
visitVocab
in interface Visitor
public void visitWildcardType(GroovySourceAST t, int visit)
visitWildcardType
in interface Visitor
public void visitWs(GroovySourceAST t, int visit)
public void visitDefault(GroovySourceAST t, int visit)
visitDefault
in interface Visitor
public void push(GroovySourceAST t)
public GroovySourceAST pop()