Class GroovyParserBaseVisitor<Result>
- Type Parameters:
Result
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Result>
,GroovyParserVisitor<Result>
- Direct Known Subclasses:
AstBuilder
public class GroovyParserBaseVisitor<Result> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result> implements GroovyParserVisitor<Result>
GroovyParserVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors Constructor Description GroovyParserBaseVisitor()
-
Method Summary
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
GroovyParserBaseVisitor
public GroovyParserBaseVisitor()
-
-
Method Details
-
visitIdentifierPrmrAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralPrmrAlt
Visit a parse tree produced by theliteralPrmrAlt
labeled alternative inGroovyParser.commandPrimary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralPrmrAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGstringPrmrAlt
Visit a parse tree produced by thegstringPrmrAlt
labeled alternative inGroovyParser.commandPrimary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGstringPrmrAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNewPrmrAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisPrmrAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSuperPrmrAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenPrmrAlt
Visit a parse tree produced by theparenPrmrAlt
labeled alternative inGroovyParser.namedPropertyArgPrimary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParenPrmrAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClosureOrLambdaExpressionPrmrAlt
public Result visitClosureOrLambdaExpressionPrmrAlt(@NotNull GroovyParser.ClosureOrLambdaExpressionPrmrAltContext ctx)Visit a parse tree produced by theclosureOrLambdaExpressionPrmrAlt
labeled alternative inGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitClosureOrLambdaExpressionPrmrAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitListPrmrAlt
Visit a parse tree produced by thelistPrmrAlt
labeled alternative inGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitListPrmrAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapPrmrAlt
Visit a parse tree produced by themapPrmrAlt
labeled alternative inGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMapPrmrAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBuiltInTypePrmrAlt
Visit a parse tree produced by thebuiltInTypePrmrAlt
labeled alternative inGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBuiltInTypePrmrAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteralAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloatingPointLiteralAlt
public Result visitFloatingPointLiteralAlt(@NotNull GroovyParser.FloatingPointLiteralAltContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringLiteralAlt
Visit a parse tree produced by thestringLiteralAlt
labeled alternative inGroovyParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStringLiteralAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteralAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNullLiteralAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostfixExprAlt
Visit a parse tree produced by thepostfixExprAlt
labeled alternative inGroovyParser.castOperandExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPostfixExprAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryNotExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPowerExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryAddExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAdditiveExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitShiftExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelationalExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEqualityExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRegexExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAndExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExclusiveOrExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInclusiveOrExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConditionalExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultipleAssignmentExprAlt
public Result visitMultipleAssignmentExprAlt(@NotNull GroovyParser.MultipleAssignmentExprAltContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssignmentExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStmtAlt
Visit a parse tree produced by theblockStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBlockStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConditionalStmtAlt
Visit a parse tree produced by theconditionalStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConditionalStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLoopStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryCatchStmtAlt
Visit a parse tree produced by thetryCatchStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTryCatchStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSynchronizedStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThrowStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBreakStmtAlt
Visit a parse tree produced by thebreakStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBreakStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContinueStmtAlt
Visit a parse tree produced by thecontinueStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitContinueStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLabeledStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssertStmtAlt
Visit a parse tree produced by theassertStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAssertStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclarationStmtAlt
public Result visitLocalVariableDeclarationStmtAlt(@NotNull GroovyParser.LocalVariableDeclarationStmtAltContext ctx)Visit a parse tree produced by thelocalVariableDeclarationStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalVariableDeclarationStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionStmtAlt
Visit a parse tree produced by theexpressionStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyStmtAlt
Visit a parse tree produced by theemptyStmtAlt
labeled alternative inGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEmptyStmtAlt
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommandExprAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhileStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoWhileStmtAlt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCompilationUnit
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitScriptStatements
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitScriptStatement
Visit a parse tree produced byGroovyParser.scriptStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitScriptStatement
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPackageDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImportDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifiersOpt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifiers
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifiersOpt
public Result visitClassOrInterfaceModifiersOpt(@NotNull GroovyParser.ClassOrInterfaceModifiersOptContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifiers
public Result visitClassOrInterfaceModifiers(@NotNull GroovyParser.ClassOrInterfaceModifiersContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceModifier
public Result visitClassOrInterfaceModifier(@NotNull GroovyParser.ClassOrInterfaceModifierContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifier
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifiersOpt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableModifiers
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameters
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeParameter
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeBound
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeList
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBody
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstants
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnumConstant
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassBodyDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMemberDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodName
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitReturnType
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFieldDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarators
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclarator
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaratorId
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableInitializer
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableInitializers
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyDims
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEmptyDimsOpt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitType
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassOrInterfaceType
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArguments
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgument
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotatedQualifiedClassName
public Result visitAnnotatedQualifiedClassName(@NotNull GroovyParser.AnnotatedQualifiedClassNameContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedClassNameList
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameters
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameterList
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisFormalParameter
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormalParameter
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMethodBody
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedName
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameElement
Visit a parse tree produced byGroovyParser.qualifiedNameElement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQualifiedNameElement
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedNameElements
Visit a parse tree produced byGroovyParser.qualifiedNameElements()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQualifiedNameElements
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedClassName
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedStandardClassName
public Result visitQualifiedStandardClassName(@NotNull GroovyParser.QualifiedStandardClassNameContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteral
Visit a parse tree produced byGroovyParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteral
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGstring
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGstringValue
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGstringPath
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStandardLambdaExpression
public Result visitStandardLambdaExpression(@NotNull GroovyParser.StandardLambdaExpressionContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStandardLambdaParameters
public Result visitStandardLambdaParameters(@NotNull GroovyParser.StandardLambdaParametersContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLambdaBody
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClosure
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClosureOrLambdaExpression
public Result visitClosureOrLambdaExpression(@NotNull GroovyParser.ClosureOrLambdaExpressionContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStatementsOpt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStatements
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationsOpt
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotation
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValues
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnnotationName
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePairs
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePair
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValuePairName
Visit a parse tree produced byGroovyParser.elementValuePairName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElementValuePairName
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValue
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementValueArrayInitializer
public Result visitElementValueArrayInitializer(@NotNull GroovyParser.ElementValueArrayInitializerContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlock
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBlockStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalVariableDeclaration
public Result visitLocalVariableDeclaration(@NotNull GroovyParser.LocalVariableDeclarationContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableDeclaration
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeNamePairs
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeNamePair
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariableNames
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConditionalStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfElseStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLoopStatement
Visit a parse tree produced byGroovyParser.loopStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLoopStatement
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContinueStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBreakStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTryCatchStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssertStatement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byGroovyParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStatement
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchClause
Visit a parse tree produced byGroovyParser.catchClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCatchClause
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCatchType
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFinallyBlock
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResources
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResourceList
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitResource
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchBlockStatementGroup
public Result visitSwitchBlockStatementGroup(@NotNull GroovyParser.SwitchBlockStatementGroupContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSwitchLabel
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForControl
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedForControl
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassicalForControl
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForInit
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitForUpdate
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastParExpression
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParExpression
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionInPar
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionList
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionListElement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedStatementExpression
public Result visitEnhancedStatementExpression(@NotNull GroovyParser.EnhancedStatementExpressionContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStatementExpression
Visit a parse tree produced byGroovyParser.statementExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStatementExpression
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPostfixExpression
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byGroovyParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommandExpression
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommandArgument
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathExpression
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPathElement
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNamePart
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDynamicMemberName
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexPropertyArgs
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNamedPropertyArgs
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimary
Visit a parse tree produced byGroovyParser.primary()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimary
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitList
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMap
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapEntryList
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapEntry
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapEntryLabel
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreator
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDim
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayInitializer
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnonymousInnerClassDeclaration
public Result visitAnonymousInnerClassDeclaration(@NotNull GroovyParser.AnonymousInnerClassDeclarationContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCreatedName
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonWildcardTypeArguments
public Result visitNonWildcardTypeArguments(@NotNull GroovyParser.NonWildcardTypeArgumentsContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeArgumentsOrDiamond
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArguments
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedArgumentListInPar
public Result visitEnhancedArgumentListInPar(@NotNull GroovyParser.EnhancedArgumentListInParContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEnhancedArgumentListElement
public Result visitEnhancedArgumentListElement(@NotNull GroovyParser.EnhancedArgumentListElementContext ctx)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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitClassName
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifier
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBuiltInType
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeywords
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<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRparen
Visit a parse tree produced byGroovyParser.rparen()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRparen
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNls
Visit a parse tree produced byGroovyParser.nls()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNls
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSep
Visit a parse tree produced byGroovyParser.sep()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSep
in interfaceGroovyParserVisitor<Result>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-