Package org.apache.groovy.parser.antlr4
Interface GroovyParserVisitor<Result>
- Type Parameters:
Result- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Result>
- All Known Implementing Classes:
AstBuilder,GroovyParserBaseVisitor
public interface GroovyParserVisitor<Result>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced
by
GroovyParser.-
Method Summary
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitIdentifierPrmrAlt
Visit a parse tree produced by theidentifierPrmrAltlabeled alternative inGroovyParser.commandPrimary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralPrmrAlt
Visit a parse tree produced by theliteralPrmrAltlabeled alternative inGroovyParser.commandPrimary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGstringPrmrAlt
Visit a parse tree produced by thegstringPrmrAltlabeled alternative inGroovyParser.commandPrimary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewPrmrAlt
Visit a parse tree produced by thenewPrmrAltlabeled alternative inGroovyParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisPrmrAlt
Visit a parse tree produced by thethisPrmrAltlabeled alternative inGroovyParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuperPrmrAlt
Visit a parse tree produced by thesuperPrmrAltlabeled alternative inGroovyParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenPrmrAlt
Visit a parse tree produced by theparenPrmrAltlabeled alternative inGroovyParser.namedPropertyArgPrimary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClosureOrLambdaExpressionPrmrAlt
Result visitClosureOrLambdaExpressionPrmrAlt(@NotNull GroovyParser.ClosureOrLambdaExpressionPrmrAltContext ctx)Visit a parse tree produced by theclosureOrLambdaExpressionPrmrAltlabeled alternative inGroovyParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitListPrmrAlt
Visit a parse tree produced by thelistPrmrAltlabeled alternative inGroovyParser.namedPropertyArgPrimary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapPrmrAlt
Visit a parse tree produced by themapPrmrAltlabeled alternative inGroovyParser.namedPropertyArgPrimary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltInTypePrmrAlt
Visit a parse tree produced by thebuiltInTypePrmrAltlabeled alternative inGroovyParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteralAlt
Visit a parse tree produced by theintegerLiteralAltlabeled alternative inGroovyParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatingPointLiteralAlt
Visit a parse tree produced by thefloatingPointLiteralAltlabeled alternative inGroovyParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteralAlt
Visit a parse tree produced by thestringLiteralAltlabeled alternative inGroovyParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteralAlt
Visit a parse tree produced by thebooleanLiteralAltlabeled alternative inGroovyParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteralAlt
Visit a parse tree produced by thenullLiteralAltlabeled alternative inGroovyParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCastExprAlt
Visit a parse tree produced by thecastExprAltlabeled alternative inGroovyParser.castOperandExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixExprAlt
Visit a parse tree produced by thepostfixExprAltlabeled alternative inGroovyParser.castOperandExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryNotExprAlt
Visit a parse tree produced by theunaryNotExprAltlabeled alternative inGroovyParser.castOperandExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerExprAlt
Visit a parse tree produced by thepowerExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryAddExprAlt
Visit a parse tree produced by theunaryAddExprAltlabeled alternative inGroovyParser.castOperandExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExprAlt
Visit a parse tree produced by themultiplicativeExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExprAlt
Visit a parse tree produced by theadditiveExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShiftExprAlt
Visit a parse tree produced by theshiftExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExprAlt
Visit a parse tree produced by therelationalExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExprAlt
Visit a parse tree produced by theequalityExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegexExprAlt
Visit a parse tree produced by theregexExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExprAlt
Visit a parse tree produced by theandExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExclusiveOrExprAlt
Visit a parse tree produced by theexclusiveOrExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInclusiveOrExprAlt
Visit a parse tree produced by theinclusiveOrExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExprAlt
Visit a parse tree produced by thelogicalAndExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExprAlt
Visit a parse tree produced by thelogicalOrExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalExprAlt
Visit a parse tree produced by theconditionalExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultipleAssignmentExprAlt
Visit a parse tree produced by themultipleAssignmentExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentExprAlt
Visit a parse tree produced by theassignmentExprAltlabeled alternative inGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStmtAlt
Visit a parse tree produced by theblockStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalStmtAlt
Visit a parse tree produced by theconditionalStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLoopStmtAlt
Visit a parse tree produced by theloopStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryCatchStmtAlt
Visit a parse tree produced by thetryCatchStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSynchronizedStmtAlt
Visit a parse tree produced by thesynchronizedStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnStmtAlt
Visit a parse tree produced by thereturnStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThrowStmtAlt
Visit a parse tree produced by thethrowStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStmtAlt
Visit a parse tree produced by thebreakStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStmtAlt
Visit a parse tree produced by thecontinueStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabeledStmtAlt
Visit a parse tree produced by thelabeledStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssertStmtAlt
Visit a parse tree produced by theassertStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclarationStmtAlt
Result visitLocalVariableDeclarationStmtAlt(@NotNull GroovyParser.LocalVariableDeclarationStmtAltContext ctx)Visit a parse tree produced by thelocalVariableDeclarationStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStmtAlt
Visit a parse tree produced by theexpressionStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStmtAlt
Visit a parse tree produced by theemptyStmtAltlabeled alternative inGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommandExprAlt
Visit a parse tree produced by thecommandExprAltlabeled alternative inGroovyParser.statementExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStmtAlt
Visit a parse tree produced by theforStmtAltlabeled alternative inGroovyParser.loopStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStmtAlt
Visit a parse tree produced by thewhileStmtAltlabeled alternative inGroovyParser.loopStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoWhileStmtAlt
Visit a parse tree produced by thedoWhileStmtAltlabeled alternative inGroovyParser.loopStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompilationUnit
Visit a parse tree produced byGroovyParser.compilationUnit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScriptStatements
Visit a parse tree produced byGroovyParser.scriptStatements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScriptStatement
Visit a parse tree produced byGroovyParser.scriptStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Visit a parse tree produced byGroovyParser.packageDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
Visit a parse tree produced byGroovyParser.importDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Visit a parse tree produced byGroovyParser.typeDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byGroovyParser.modifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifiersOpt
Visit a parse tree produced byGroovyParser.modifiersOpt().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifiers
Visit a parse tree produced byGroovyParser.modifiers().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifiersOpt
Result visitClassOrInterfaceModifiersOpt(@NotNull GroovyParser.ClassOrInterfaceModifiersOptContext ctx)Visit a parse tree produced byGroovyParser.classOrInterfaceModifiersOpt().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifiers
Visit a parse tree produced byGroovyParser.classOrInterfaceModifiers().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifier
Visit a parse tree produced byGroovyParser.classOrInterfaceModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
Visit a parse tree produced byGroovyParser.variableModifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifiersOpt
Visit a parse tree produced byGroovyParser.variableModifiersOpt().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableModifiers
Visit a parse tree produced byGroovyParser.variableModifiers().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
Visit a parse tree produced byGroovyParser.typeParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Visit a parse tree produced byGroovyParser.typeParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeBound
Visit a parse tree produced byGroovyParser.typeBound().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeList
Visit a parse tree produced byGroovyParser.typeList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
Visit a parse tree produced byGroovyParser.classDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBody
Visit a parse tree produced byGroovyParser.classBody(int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
Visit a parse tree produced byGroovyParser.enumConstants().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
Visit a parse tree produced byGroovyParser.enumConstant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassBodyDeclaration
Visit a parse tree produced byGroovyParser.classBodyDeclaration(int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
Visit a parse tree produced byGroovyParser.memberDeclaration(int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
Visit a parse tree produced byGroovyParser.methodDeclaration(int, int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodName
Visit a parse tree produced byGroovyParser.methodName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReturnType
Visit a parse tree produced byGroovyParser.returnType(int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
Visit a parse tree produced byGroovyParser.fieldDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
Visit a parse tree produced byGroovyParser.variableDeclarators().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
Visit a parse tree produced byGroovyParser.variableDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
Visit a parse tree produced byGroovyParser.variableDeclaratorId().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
Visit a parse tree produced byGroovyParser.variableInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableInitializers
Visit a parse tree produced byGroovyParser.variableInitializers().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyDims
Visit a parse tree produced byGroovyParser.emptyDims().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyDimsOpt
Visit a parse tree produced byGroovyParser.emptyDimsOpt().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType
Visit a parse tree produced byGroovyParser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
Visit a parse tree produced byGroovyParser.classOrInterfaceType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Visit a parse tree produced byGroovyParser.primitiveType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
Visit a parse tree produced byGroovyParser.typeArguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
Visit a parse tree produced byGroovyParser.typeArgument().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotatedQualifiedClassName
Result visitAnnotatedQualifiedClassName(@NotNull GroovyParser.AnnotatedQualifiedClassNameContext ctx)Visit a parse tree produced byGroovyParser.annotatedQualifiedClassName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedClassNameList
Visit a parse tree produced byGroovyParser.qualifiedClassNameList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Visit a parse tree produced byGroovyParser.formalParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Visit a parse tree produced byGroovyParser.formalParameterList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisFormalParameter
Visit a parse tree produced byGroovyParser.thisFormalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Visit a parse tree produced byGroovyParser.formalParameter().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Visit a parse tree produced byGroovyParser.methodBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Visit a parse tree produced byGroovyParser.qualifiedName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameElement
Visit a parse tree produced byGroovyParser.qualifiedNameElement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameElements
Visit a parse tree produced byGroovyParser.qualifiedNameElements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedClassName
Visit a parse tree produced byGroovyParser.qualifiedClassName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedStandardClassName
Result visitQualifiedStandardClassName(@NotNull GroovyParser.QualifiedStandardClassNameContext ctx)Visit a parse tree produced byGroovyParser.qualifiedStandardClassName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byGroovyParser.literal().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGstring
Visit a parse tree produced byGroovyParser.gstring().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGstringValue
Visit a parse tree produced byGroovyParser.gstringValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGstringPath
Visit a parse tree produced byGroovyParser.gstringPath().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStandardLambdaExpression
Visit a parse tree produced byGroovyParser.standardLambdaExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStandardLambdaParameters
Visit a parse tree produced byGroovyParser.standardLambdaParameters().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
Visit a parse tree produced byGroovyParser.lambdaBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClosure
Visit a parse tree produced byGroovyParser.closure().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClosureOrLambdaExpression
Visit a parse tree produced byGroovyParser.closureOrLambdaExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatementsOpt
Visit a parse tree produced byGroovyParser.blockStatementsOpt().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatements
Visit a parse tree produced byGroovyParser.blockStatements().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationsOpt
Visit a parse tree produced byGroovyParser.annotationsOpt().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Visit a parse tree produced byGroovyParser.annotation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValues
Visit a parse tree produced byGroovyParser.elementValues().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnnotationName
Visit a parse tree produced byGroovyParser.annotationName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
Visit a parse tree produced byGroovyParser.elementValuePairs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
Visit a parse tree produced byGroovyParser.elementValuePair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValuePairName
Visit a parse tree produced byGroovyParser.elementValuePairName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValue
Visit a parse tree produced byGroovyParser.elementValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
Result visitElementValueArrayInitializer(@NotNull GroovyParser.ElementValueArrayInitializerContext ctx)Visit a parse tree produced byGroovyParser.elementValueArrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byGroovyParser.block().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
Visit a parse tree produced byGroovyParser.blockStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
Visit a parse tree produced byGroovyParser.localVariableDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaration
Visit a parse tree produced byGroovyParser.variableDeclaration(int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeNamePairs
Visit a parse tree produced byGroovyParser.typeNamePairs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeNamePair
Visit a parse tree produced byGroovyParser.typeNamePair().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableNames
Visit a parse tree produced byGroovyParser.variableNames().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalStatement
Visit a parse tree produced byGroovyParser.conditionalStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIfElseStatement
Visit a parse tree produced byGroovyParser.ifElseStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchStatement
Visit a parse tree produced byGroovyParser.switchStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLoopStatement
Visit a parse tree produced byGroovyParser.loopStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
Visit a parse tree produced byGroovyParser.continueStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
Visit a parse tree produced byGroovyParser.breakStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTryCatchStatement
Visit a parse tree produced byGroovyParser.tryCatchStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssertStatement
Visit a parse tree produced byGroovyParser.assertStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byGroovyParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Visit a parse tree produced byGroovyParser.catchClause().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCatchType
Visit a parse tree produced byGroovyParser.catchType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Visit a parse tree produced byGroovyParser.finallyBlock().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResources
Visit a parse tree produced byGroovyParser.resources().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceList
Visit a parse tree produced byGroovyParser.resourceList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResource
Visit a parse tree produced byGroovyParser.resource().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
Visit a parse tree produced byGroovyParser.switchBlockStatementGroup().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchLabel
Visit a parse tree produced byGroovyParser.switchLabel().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForControl
Visit a parse tree produced byGroovyParser.forControl().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
Visit a parse tree produced byGroovyParser.enhancedForControl().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassicalForControl
Visit a parse tree produced byGroovyParser.classicalForControl().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForInit
Visit a parse tree produced byGroovyParser.forInit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForUpdate
Visit a parse tree produced byGroovyParser.forUpdate().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCastParExpression
Visit a parse tree produced byGroovyParser.castParExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpression
Visit a parse tree produced byGroovyParser.parExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionInPar
Visit a parse tree produced byGroovyParser.expressionInPar().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Visit a parse tree produced byGroovyParser.expressionList(boolean).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionListElement
Visit a parse tree produced byGroovyParser.expressionListElement(boolean).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedStatementExpression
Result visitEnhancedStatementExpression(@NotNull GroovyParser.EnhancedStatementExpressionContext ctx)Visit a parse tree produced byGroovyParser.enhancedStatementExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatementExpression
Visit a parse tree produced byGroovyParser.statementExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixExpression
Visit a parse tree produced byGroovyParser.postfixExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byGroovyParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommandExpression
Visit a parse tree produced byGroovyParser.commandExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommandArgument
Visit a parse tree produced byGroovyParser.commandArgument().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathExpression
Visit a parse tree produced byGroovyParser.pathExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPathElement
Visit a parse tree produced byGroovyParser.pathElement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamePart
Visit a parse tree produced byGroovyParser.namePart().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDynamicMemberName
Visit a parse tree produced byGroovyParser.dynamicMemberName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexPropertyArgs
Visit a parse tree produced byGroovyParser.indexPropertyArgs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNamedPropertyArgs
Visit a parse tree produced byGroovyParser.namedPropertyArgs().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimary
Visit a parse tree produced byGroovyParser.primary().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitList
Visit a parse tree produced byGroovyParser.list().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMap
Visit a parse tree produced byGroovyParser.map().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapEntryList
Visit a parse tree produced byGroovyParser.mapEntryList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapEntry
Visit a parse tree produced byGroovyParser.mapEntry().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapEntryLabel
Visit a parse tree produced byGroovyParser.mapEntryLabel().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreator
Visit a parse tree produced byGroovyParser.creator(int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDim
Visit a parse tree produced byGroovyParser.dim().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Visit a parse tree produced byGroovyParser.arrayInitializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAnonymousInnerClassDeclaration
Result visitAnonymousInnerClassDeclaration(@NotNull GroovyParser.AnonymousInnerClassDeclarationContext ctx)Visit a parse tree produced byGroovyParser.anonymousInnerClassDeclaration(int).- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCreatedName
Visit a parse tree produced byGroovyParser.createdName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
Visit a parse tree produced byGroovyParser.nonWildcardTypeArguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsOrDiamond
Visit a parse tree produced byGroovyParser.typeArgumentsOrDiamond().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byGroovyParser.arguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedArgumentListInPar
Visit a parse tree produced byGroovyParser.enhancedArgumentListInPar().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnhancedArgumentListElement
Result visitEnhancedArgumentListElement(@NotNull GroovyParser.EnhancedArgumentListElementContext ctx)Visit a parse tree produced byGroovyParser.enhancedArgumentListElement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Visit a parse tree produced byGroovyParser.stringLiteral().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassName
Visit a parse tree produced byGroovyParser.className().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced byGroovyParser.identifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltInType
Visit a parse tree produced byGroovyParser.builtInType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeywords
Visit a parse tree produced byGroovyParser.keywords().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRparen
Visit a parse tree produced byGroovyParser.rparen().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNls
Visit a parse tree produced byGroovyParser.nls().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSep
Visit a parse tree produced byGroovyParser.sep().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-