Class AstBuilder
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<java.lang.Object>
,GroovyParserVisitor<java.lang.Object>
public class AstBuilder extends GroovyParserBaseVisitor<java.lang.Object>
-
Constructor Summary
Constructors Constructor Description AstBuilder(SourceUnit sourceUnit, boolean groovydocEnabled, boolean runtimeGroovydocEnabled)
-
Method Summary
Methods inherited from class org.apache.groovy.parser.antlr4.GroovyParserBaseVisitor
visitAssertStmtAlt, visitBlockStmtAlt, visitBreakStmtAlt, visitBuiltInTypePrmrAlt, visitClosureOrLambdaExpressionPrmrAlt, visitConditionalStmtAlt, visitContinueStmtAlt, visitElementValuePairName, visitEmptyStmtAlt, visitExpression, visitExpressionStmtAlt, visitGstringPrmrAlt, visitListPrmrAlt, visitLiteral, visitLiteralPrmrAlt, visitLocalVariableDeclarationStmtAlt, visitLoopStatement, visitMapPrmrAlt, visitNls, visitParenPrmrAlt, visitPostfixExprAlt, visitPrimary, visitQualifiedNameElement, visitQualifiedNameElements, visitRparen, visitScriptStatement, visitSep, visitStatement, visitStatementExpression, visitStringLiteralAlt, visitTryCatchStmtAlt
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
AstBuilder
public AstBuilder(SourceUnit sourceUnit, boolean groovydocEnabled, boolean runtimeGroovydocEnabled)
-
-
Method Details
-
buildAST
-
visitCompilationUnit
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.compilationUnit()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCompilationUnit
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCompilationUnit
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitScriptStatements
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.scriptStatements()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitScriptStatements
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitScriptStatements
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.packageDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPackageDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitPackageDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.importDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitImportDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitImportDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssertStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.assertStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAssertStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAssertStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConditionalStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.conditionalStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConditionalStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitConditionalStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfElseStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.ifElseStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIfElseStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitIfElseStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLoopStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theloopStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLoopStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitLoopStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theforStmtAlt
labeled alternative inGroovyParser.loopStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitForStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitForStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForControl
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.forControl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitForControl
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitForControl
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForInit
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.forInit()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitForInit
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitForInit
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForUpdate
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.forUpdate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitForUpdate
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitForUpdate
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
public Tuple2<Parameter,Expression> visitEnhancedForControl(GroovyParser.EnhancedForControlContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.enhancedForControl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnhancedForControl
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEnhancedForControl
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassicalForControl
public Tuple2<Parameter,Expression> visitClassicalForControl(GroovyParser.ClassicalForControlContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classicalForControl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassicalForControl
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassicalForControl
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thewhileStmtAlt
labeled alternative inGroovyParser.loopStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWhileStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitWhileStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoWhileStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thedoWhileStmtAlt
labeled alternative inGroovyParser.loopStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoWhileStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitDoWhileStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryCatchStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.tryCatchStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTryCatchStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTryCatchStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResources
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.resources()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitResources
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitResources
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResourceList
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.resourceList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitResourceList
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitResourceList
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResource
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.resource()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitResource
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitResource
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Multi-catch(1..*) clause will be unpacked to several normal catch clauses, so the return type is List- Specified by:
visitCatchClause
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCatchClause
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- a list of CatchStatement instances
-
visitCatchType
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.catchType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCatchType
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCatchType
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.finallyBlock()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFinallyBlock
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitFinallyBlock
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.switchStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSwitchStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitSwitchStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
public java.util.List<Statement> visitSwitchBlockStatementGroup(GroovyParser.SwitchBlockStatementGroupContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.switchBlockStatementGroup()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSwitchBlockStatementGroup
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitSwitchBlockStatementGroup
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabel
public Tuple2<org.antlr.v4.runtime.Token,Expression> visitSwitchLabel(GroovyParser.SwitchLabelContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.switchLabel()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSwitchLabel
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitSwitchLabel
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSynchronizedStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thesynchronizedStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSynchronizedStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitSynchronizedStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thereturnStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitReturnStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitReturnStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThrowStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thethrowStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitThrowStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitThrowStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLabeledStmtAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thelabeledStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLabeledStmtAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitLabeledStmtAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.breakStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBreakStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitBreakStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.continueStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitContinueStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitContinueStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBody
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classBody(int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassBody
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassBody
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.enumConstants()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnumConstants
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEnumConstants
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.enumConstant()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnumConstant
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEnumConstant
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBodyDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classBodyDeclaration(int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassBodyDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassBodyDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.memberDeclaration(int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMemberDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMemberDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeParameters()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeParameters
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeParameters
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeParameter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeParameter
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeParameter
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeBound
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeBound()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeBound
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeBound
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.fieldDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFieldDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitFieldDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.methodDeclaration(int, int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMethodDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMethodDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodName
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.methodName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMethodName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMethodName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnType
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.returnType(int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitReturnType
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitReturnType
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodBody
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.methodBody()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMethodBody
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMethodBody
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
public org.apache.groovy.parser.antlr4.AstBuilder.DeclarationListStatement visitLocalVariableDeclaration(GroovyParser.LocalVariableDeclarationContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.localVariableDeclaration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalVariableDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitLocalVariableDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaration
public org.apache.groovy.parser.antlr4.AstBuilder.DeclarationListStatement visitVariableDeclaration(GroovyParser.VariableDeclarationContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableDeclaration(int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeNamePairs
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeNamePairs()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeNamePairs
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeNamePairs
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeNamePair
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeNamePair()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeNamePair
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeNamePair
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
public java.util.List<DeclarationExpression> visitVariableDeclarators(GroovyParser.VariableDeclaratorsContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableDeclarators()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableDeclarators
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableDeclarators
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableDeclarator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableDeclarator
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableDeclarator
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableInitializer()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableInitializer
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableInitializer
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableInitializers
public java.util.List<Expression> visitVariableInitializers(GroovyParser.VariableInitializersContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableInitializers()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableInitializers
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableInitializers
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.arrayInitializer()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitArrayInitializer
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitArrayInitializer
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlock
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.block()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBlock
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitBlock
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommandExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thecommandExprAlt
labeled alternative inGroovyParser.statementExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommandExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCommandExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommandExpression
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.commandExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommandExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCommandExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommandArgument
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.commandArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCommandArgument
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCommandArgument
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastParExpression
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.castParExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCastParExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCastParExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParExpression
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.parExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitParExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionInPar
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.expressionInPar()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionInPar
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitExpressionInPar
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedStatementExpression
public Expression visitEnhancedStatementExpression(GroovyParser.EnhancedStatementExpressionContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.enhancedStatementExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnhancedStatementExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEnhancedStatementExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathExpression
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.pathExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPathExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitPathExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathElement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.pathElement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPathElement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitPathElement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
public GenericsType[] visitNonWildcardTypeArguments(GroovyParser.NonWildcardTypeArgumentsContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.nonWildcardTypeArguments()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNonWildcardTypeArguments
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitNonWildcardTypeArguments
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeList
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeList
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeList
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArguments
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.arguments()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitArguments
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitArguments
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedArgumentListInPar
public Expression visitEnhancedArgumentListInPar(GroovyParser.EnhancedArgumentListInParContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.enhancedArgumentListInPar()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnhancedArgumentListInPar
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEnhancedArgumentListInPar
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedArgumentListElement
public Expression visitEnhancedArgumentListElement(GroovyParser.EnhancedArgumentListElementContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.enhancedArgumentListElement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEnhancedArgumentListElement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEnhancedArgumentListElement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.stringLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStringLiteral
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitStringLiteral
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexPropertyArgs
public Tuple2<org.antlr.v4.runtime.Token,Expression> visitIndexPropertyArgs(GroovyParser.IndexPropertyArgsContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.indexPropertyArgs()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIndexPropertyArgs
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitIndexPropertyArgs
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNamedPropertyArgs
public java.util.List<MapEntryExpression> visitNamedPropertyArgs(GroovyParser.NamedPropertyArgsContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.namedPropertyArgs()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNamedPropertyArgs
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitNamedPropertyArgs
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNamePart
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.namePart()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNamePart
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitNamePart
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDynamicMemberName
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.dynamicMemberName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDynamicMemberName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitDynamicMemberName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostfixExpression
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.postfixExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPostfixExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitPostfixExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryNotExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theunaryNotExprAlt
labeled alternative inGroovyParser.castOperandExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryNotExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitUnaryNotExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thecastExprAlt
labeled alternative inGroovyParser.castOperandExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCastExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCastExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPowerExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thepowerExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPowerExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitPowerExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryAddExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theunaryAddExprAlt
labeled alternative inGroovyParser.castOperandExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryAddExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitUnaryAddExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by themultiplicativeExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultiplicativeExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMultiplicativeExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAdditiveExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theadditiveExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAdditiveExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAdditiveExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShiftExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theshiftExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitShiftExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitShiftExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelationalExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by therelationalExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRelationalExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitRelationalExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEqualityExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theequalityExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEqualityExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEqualityExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRegexExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theregexExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRegexExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitRegexExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAndExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theandExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAndExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAndExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExclusiveOrExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theexclusiveOrExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExclusiveOrExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitExclusiveOrExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInclusiveOrExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theinclusiveOrExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInclusiveOrExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitInclusiveOrExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thelogicalAndExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLogicalAndExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitLogicalAndExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thelogicalOrExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLogicalOrExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitLogicalOrExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConditionalExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theconditionalExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConditionalExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitConditionalExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultipleAssignmentExprAlt
public BinaryExpression visitMultipleAssignmentExprAlt(GroovyParser.MultipleAssignmentExprAltContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by themultipleAssignmentExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultipleAssignmentExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMultipleAssignmentExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssignmentExprAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theassignmentExprAlt
labeled alternative inGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAssignmentExprAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAssignmentExprAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifierPrmrAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theidentifierPrmrAlt
labeled alternative inGroovyParser.commandPrimary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdentifierPrmrAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitIdentifierPrmrAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNewPrmrAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thenewPrmrAlt
labeled alternative inGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNewPrmrAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitNewPrmrAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisPrmrAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thethisPrmrAlt
labeled alternative inGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitThisPrmrAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitThisPrmrAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperPrmrAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thesuperPrmrAlt
labeled alternative inGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSuperPrmrAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitSuperPrmrAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreator
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.creator(int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCreator
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCreator
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDim
public Tuple3<Expression,java.util.List<AnnotationNode>,org.antlr.v4.runtime.tree.TerminalNode> visitDim(GroovyParser.DimContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.dim()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDim
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitDim
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnonymousInnerClassDeclaration
public InnerClassNode visitAnonymousInnerClassDeclaration(GroovyParser.AnonymousInnerClassDeclarationContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.anonymousInnerClassDeclaration(int)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnonymousInnerClassDeclaration
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAnonymousInnerClassDeclaration
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedName
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.createdName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCreatedName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitCreatedName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMap
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.map()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMap
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMap
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapEntryList
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.mapEntryList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMapEntryList
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMapEntryList
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapEntry
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.mapEntry()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMapEntry
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMapEntry
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapEntryLabel
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.mapEntryLabel()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMapEntryLabel
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitMapEntryLabel
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeywords
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.keywords()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeywords
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitKeywords
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBuiltInType
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.builtInType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBuiltInType
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitBuiltInType
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitList
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.list()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitList
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitList
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionList
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.expressionList(boolean)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionList
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitExpressionList
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionListElement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.expressionListElement(boolean)
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionListElement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitExpressionListElement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteralAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by theintegerLiteralAlt
labeled alternative inGroovyParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIntegerLiteralAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitIntegerLiteralAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloatingPointLiteralAlt
public ConstantExpression visitFloatingPointLiteralAlt(GroovyParser.FloatingPointLiteralAltContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thefloatingPointLiteralAlt
labeled alternative inGroovyParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFloatingPointLiteralAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitFloatingPointLiteralAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteralAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thebooleanLiteralAlt
labeled alternative inGroovyParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBooleanLiteralAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitBooleanLiteralAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNullLiteralAlt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced by thenullLiteralAlt
labeled alternative inGroovyParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNullLiteralAlt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitNullLiteralAlt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGstring
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.gstring()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGstring
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitGstring
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGstringValue
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.gstringValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGstringValue
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitGstringValue
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGstringPath
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.gstringPath()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGstringPath
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitGstringPath
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStandardLambdaExpression
public LambdaExpression visitStandardLambdaExpression(GroovyParser.StandardLambdaExpressionContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.standardLambdaExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStandardLambdaExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitStandardLambdaExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStandardLambdaParameters
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.standardLambdaParameters()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStandardLambdaParameters
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitStandardLambdaParameters
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.lambdaBody()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLambdaBody
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitLambdaBody
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClosure
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.closure()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClosure
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClosure
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.formalParameters()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalParameters
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitFormalParameters
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.formalParameterList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalParameterList
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitFormalParameterList
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.formalParameter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormalParameter
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitFormalParameter
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisFormalParameter
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.thisFormalParameter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitThisFormalParameter
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitThisFormalParameter
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifiersOpt
public java.util.List<ModifierNode> visitClassOrInterfaceModifiersOpt(GroovyParser.ClassOrInterfaceModifiersOptContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classOrInterfaceModifiersOpt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassOrInterfaceModifiersOpt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassOrInterfaceModifiersOpt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifiers
public java.util.List<ModifierNode> visitClassOrInterfaceModifiers(GroovyParser.ClassOrInterfaceModifiersContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classOrInterfaceModifiers()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassOrInterfaceModifiers
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassOrInterfaceModifiers
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifier
public ModifierNode visitClassOrInterfaceModifier(GroovyParser.ClassOrInterfaceModifierContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classOrInterfaceModifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassOrInterfaceModifier
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassOrInterfaceModifier
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.modifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifier
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitModifier
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifiers
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.modifiers()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifiers
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitModifiers
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifiersOpt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.modifiersOpt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifiersOpt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitModifiersOpt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableModifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableModifier
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableModifier
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifiersOpt
public java.util.List<ModifierNode> visitVariableModifiersOpt(GroovyParser.VariableModifiersOptContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableModifiersOpt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableModifiersOpt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableModifiersOpt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifiers
public java.util.List<ModifierNode> visitVariableModifiers(GroovyParser.VariableModifiersContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableModifiers()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableModifiers
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableModifiers
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyDims
public java.util.List<java.util.List<AnnotationNode>> visitEmptyDims(GroovyParser.EmptyDimsContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.emptyDims()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEmptyDims
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEmptyDims
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyDimsOpt
public java.util.List<java.util.List<AnnotationNode>> visitEmptyDimsOpt(GroovyParser.EmptyDimsOptContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.emptyDimsOpt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEmptyDimsOpt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitEmptyDimsOpt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitType
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.type()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitType
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitType
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.classOrInterfaceType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassOrInterfaceType
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassOrInterfaceType
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsOrDiamond
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeArgumentsOrDiamond()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeArgumentsOrDiamond
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeArgumentsOrDiamond
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeArguments()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeArguments
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeArguments
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.typeArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeArgument
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitTypeArgument
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.primitiveType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimitiveType
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitPrimitiveType
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableDeclaratorId()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableDeclaratorId
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableDeclaratorId
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableNames
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.variableNames()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariableNames
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitVariableNames
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClosureOrLambdaExpression
public ClosureExpression visitClosureOrLambdaExpression(GroovyParser.ClosureOrLambdaExpressionContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.closureOrLambdaExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClosureOrLambdaExpression
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClosureOrLambdaExpression
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStatementsOpt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.blockStatementsOpt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBlockStatementsOpt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitBlockStatementsOpt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStatements
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.blockStatements()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBlockStatements
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitBlockStatements
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.blockStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBlockStatement
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitBlockStatement
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationsOpt
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.annotationsOpt()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnnotationsOpt
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAnnotationsOpt
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotation
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.annotation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnnotation
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAnnotation
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValues
public java.util.List<Tuple2<java.lang.String,Expression>> visitElementValues(GroovyParser.ElementValuesContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.elementValues()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElementValues
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitElementValues
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationName
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.annotationName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnnotationName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAnnotationName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
public java.util.Map<java.lang.String,Expression> visitElementValuePairs(GroovyParser.ElementValuePairsContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.elementValuePairs()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElementValuePairs
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitElementValuePairs
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
public Tuple2<java.lang.String,Expression> visitElementValuePair(GroovyParser.ElementValuePairContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.elementValuePair()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElementValuePair
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitElementValuePair
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValue
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.elementValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElementValue
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitElementValue
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
public ListExpression visitElementValueArrayInitializer(GroovyParser.ElementValueArrayInitializerContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.elementValueArrayInitializer()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElementValueArrayInitializer
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitElementValueArrayInitializer
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassName
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.className()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClassName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitClassName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.identifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdentifier
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitIdentifier
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.qualifiedName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQualifiedName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitQualifiedName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotatedQualifiedClassName
public ClassNode visitAnnotatedQualifiedClassName(GroovyParser.AnnotatedQualifiedClassNameContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.annotatedQualifiedClassName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnnotatedQualifiedClassName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitAnnotatedQualifiedClassName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedClassNameList
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.qualifiedClassNameList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQualifiedClassNameList
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitQualifiedClassNameList
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedClassName
Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.qualifiedClassName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQualifiedClassName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitQualifiedClassName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedStandardClassName
public ClassNode visitQualifiedStandardClassName(GroovyParser.QualifiedStandardClassNameContext ctx)Description copied from class:GroovyParserBaseVisitor
Visit a parse tree produced byGroovyParser.qualifiedStandardClassName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQualifiedStandardClassName
in interfaceGroovyParserVisitor<java.lang.Object>
- Overrides:
visitQualifiedStandardClassName
in classGroovyParserBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visit
public java.lang.Object visit(org.antlr.v4.runtime.tree.ParseTree tree)Visit tree safely, no NPE occurred when the tree is null.- Specified by:
visit
in interfaceorg.antlr.v4.runtime.tree.ParseTreeVisitor<java.lang.Object>
- Overrides:
visit
in classorg.antlr.v4.runtime.tree.AbstractParseTreeVisitor<java.lang.Object>
- Parameters:
tree
- an AST node- Returns:
- the visiting result
-
appendStatementsToBlockStatement
-