Class GroovyParserBaseVisitor<Result>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result>
-
- org.apache.groovy.parser.antlr4.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>
This class provides an empty implementation ofGroovyParserVisitor
, 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
-
-
-
-
Method Detail
-
visitIdentifierPrmrAlt
public Result visitIdentifierPrmrAlt(@NotNull GroovyParser.IdentifierPrmrAltContext ctx)
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
public Result visitLiteralPrmrAlt(@NotNull GroovyParser.LiteralPrmrAltContext ctx)
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
public Result visitGstringPrmrAlt(@NotNull GroovyParser.GstringPrmrAltContext ctx)
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
public Result visitNewPrmrAlt(@NotNull GroovyParser.NewPrmrAltContext ctx)
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
public Result visitThisPrmrAlt(@NotNull GroovyParser.ThisPrmrAltContext ctx)
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
public Result visitSuperPrmrAlt(@NotNull GroovyParser.SuperPrmrAltContext ctx)
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
public Result visitParenPrmrAlt(@NotNull GroovyParser.ParenPrmrAltContext ctx)
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
public Result visitListPrmrAlt(@NotNull GroovyParser.ListPrmrAltContext ctx)
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
public Result visitMapPrmrAlt(@NotNull GroovyParser.MapPrmrAltContext ctx)
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
public Result visitBuiltInTypePrmrAlt(@NotNull GroovyParser.BuiltInTypePrmrAltContext ctx)
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
public Result visitIntegerLiteralAlt(@NotNull GroovyParser.IntegerLiteralAltContext ctx)
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
public Result visitStringLiteralAlt(@NotNull GroovyParser.StringLiteralAltContext ctx)
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
public Result visitBooleanLiteralAlt(@NotNull GroovyParser.BooleanLiteralAltContext ctx)
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
public Result visitNullLiteralAlt(@NotNull GroovyParser.NullLiteralAltContext ctx)
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
public Result visitCastExprAlt(@NotNull GroovyParser.CastExprAltContext ctx)
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
public Result visitPostfixExprAlt(@NotNull GroovyParser.PostfixExprAltContext ctx)
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
public Result visitUnaryNotExprAlt(@NotNull GroovyParser.UnaryNotExprAltContext ctx)
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
public Result visitPowerExprAlt(@NotNull GroovyParser.PowerExprAltContext ctx)
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
public Result visitUnaryAddExprAlt(@NotNull GroovyParser.UnaryAddExprAltContext ctx)
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
public Result visitMultiplicativeExprAlt(@NotNull GroovyParser.MultiplicativeExprAltContext ctx)
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
public Result visitAdditiveExprAlt(@NotNull GroovyParser.AdditiveExprAltContext ctx)
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
public Result visitShiftExprAlt(@NotNull GroovyParser.ShiftExprAltContext ctx)
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
public Result visitRelationalExprAlt(@NotNull GroovyParser.RelationalExprAltContext ctx)
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
public Result visitEqualityExprAlt(@NotNull GroovyParser.EqualityExprAltContext ctx)
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
public Result visitRegexExprAlt(@NotNull GroovyParser.RegexExprAltContext ctx)
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
public Result visitAndExprAlt(@NotNull GroovyParser.AndExprAltContext ctx)
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
public Result visitExclusiveOrExprAlt(@NotNull GroovyParser.ExclusiveOrExprAltContext ctx)
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
public Result visitInclusiveOrExprAlt(@NotNull GroovyParser.InclusiveOrExprAltContext ctx)
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
public Result visitLogicalAndExprAlt(@NotNull GroovyParser.LogicalAndExprAltContext ctx)
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
public Result visitLogicalOrExprAlt(@NotNull GroovyParser.LogicalOrExprAltContext ctx)
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
public Result visitConditionalExprAlt(@NotNull GroovyParser.ConditionalExprAltContext ctx)
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
public Result visitAssignmentExprAlt(@NotNull GroovyParser.AssignmentExprAltContext ctx)
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
public Result visitBlockStmtAlt(@NotNull GroovyParser.BlockStmtAltContext ctx)
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
public Result visitConditionalStmtAlt(@NotNull GroovyParser.ConditionalStmtAltContext ctx)
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
public Result visitLoopStmtAlt(@NotNull GroovyParser.LoopStmtAltContext ctx)
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
public Result visitTryCatchStmtAlt(@NotNull GroovyParser.TryCatchStmtAltContext ctx)
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
public Result visitSynchronizedStmtAlt(@NotNull GroovyParser.SynchronizedStmtAltContext ctx)
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
public Result visitReturnStmtAlt(@NotNull GroovyParser.ReturnStmtAltContext ctx)
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
public Result visitThrowStmtAlt(@NotNull GroovyParser.ThrowStmtAltContext ctx)
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
public Result visitBreakStmtAlt(@NotNull GroovyParser.BreakStmtAltContext ctx)
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
public Result visitContinueStmtAlt(@NotNull GroovyParser.ContinueStmtAltContext ctx)
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
public Result visitLabeledStmtAlt(@NotNull GroovyParser.LabeledStmtAltContext ctx)
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
public Result visitAssertStmtAlt(@NotNull GroovyParser.AssertStmtAltContext ctx)
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
public Result visitExpressionStmtAlt(@NotNull GroovyParser.ExpressionStmtAltContext ctx)
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
public Result visitEmptyStmtAlt(@NotNull GroovyParser.EmptyStmtAltContext ctx)
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
public Result visitCommandExprAlt(@NotNull GroovyParser.CommandExprAltContext ctx)
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
public Result visitForStmtAlt(@NotNull GroovyParser.ForStmtAltContext ctx)
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
public Result visitWhileStmtAlt(@NotNull GroovyParser.WhileStmtAltContext ctx)
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
public Result visitDoWhileStmtAlt(@NotNull GroovyParser.DoWhileStmtAltContext ctx)
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
public Result visitCompilationUnit(@NotNull GroovyParser.CompilationUnitContext ctx)
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
public Result visitScriptStatements(@NotNull GroovyParser.ScriptStatementsContext ctx)
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
public Result visitScriptStatement(@NotNull GroovyParser.ScriptStatementContext ctx)
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
public Result visitPackageDeclaration(@NotNull GroovyParser.PackageDeclarationContext ctx)
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
public Result visitImportDeclaration(@NotNull GroovyParser.ImportDeclarationContext ctx)
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
public Result visitTypeDeclaration(@NotNull GroovyParser.TypeDeclarationContext ctx)
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
public Result visitModifier(@NotNull GroovyParser.ModifierContext ctx)
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
public Result visitModifiersOpt(@NotNull GroovyParser.ModifiersOptContext ctx)
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
public Result visitModifiers(@NotNull GroovyParser.ModifiersContext ctx)
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
public Result visitVariableModifier(@NotNull GroovyParser.VariableModifierContext ctx)
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
public Result visitVariableModifiersOpt(@NotNull GroovyParser.VariableModifiersOptContext ctx)
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
public Result visitVariableModifiers(@NotNull GroovyParser.VariableModifiersContext ctx)
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
public Result visitTypeParameters(@NotNull GroovyParser.TypeParametersContext ctx)
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
public Result visitTypeParameter(@NotNull GroovyParser.TypeParameterContext ctx)
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
public Result visitTypeBound(@NotNull GroovyParser.TypeBoundContext ctx)
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
public Result visitTypeList(@NotNull GroovyParser.TypeListContext ctx)
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
public Result visitClassDeclaration(@NotNull GroovyParser.ClassDeclarationContext ctx)
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
public Result visitClassBody(@NotNull GroovyParser.ClassBodyContext ctx)
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
public Result visitEnumConstants(@NotNull GroovyParser.EnumConstantsContext ctx)
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
public Result visitEnumConstant(@NotNull GroovyParser.EnumConstantContext ctx)
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
public Result visitClassBodyDeclaration(@NotNull GroovyParser.ClassBodyDeclarationContext ctx)
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
public Result visitMemberDeclaration(@NotNull GroovyParser.MemberDeclarationContext ctx)
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
public Result visitMethodDeclaration(@NotNull GroovyParser.MethodDeclarationContext ctx)
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
public Result visitMethodName(@NotNull GroovyParser.MethodNameContext ctx)
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
public Result visitReturnType(@NotNull GroovyParser.ReturnTypeContext ctx)
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
public Result visitFieldDeclaration(@NotNull GroovyParser.FieldDeclarationContext ctx)
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
public Result visitVariableDeclarators(@NotNull GroovyParser.VariableDeclaratorsContext ctx)
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
public Result visitVariableDeclarator(@NotNull GroovyParser.VariableDeclaratorContext ctx)
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
public Result visitVariableDeclaratorId(@NotNull GroovyParser.VariableDeclaratorIdContext ctx)
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
public Result visitVariableInitializer(@NotNull GroovyParser.VariableInitializerContext ctx)
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
public Result visitVariableInitializers(@NotNull GroovyParser.VariableInitializersContext ctx)
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
public Result visitEmptyDims(@NotNull GroovyParser.EmptyDimsContext ctx)
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
public Result visitEmptyDimsOpt(@NotNull GroovyParser.EmptyDimsOptContext ctx)
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
public Result visitType(@NotNull GroovyParser.TypeContext ctx)
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
public Result visitClassOrInterfaceType(@NotNull GroovyParser.ClassOrInterfaceTypeContext ctx)
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
public Result visitPrimitiveType(@NotNull GroovyParser.PrimitiveTypeContext ctx)
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
public Result visitTypeArguments(@NotNull GroovyParser.TypeArgumentsContext ctx)
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
public Result visitTypeArgument(@NotNull GroovyParser.TypeArgumentContext ctx)
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
public Result visitQualifiedClassNameList(@NotNull GroovyParser.QualifiedClassNameListContext ctx)
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
public Result visitFormalParameters(@NotNull GroovyParser.FormalParametersContext ctx)
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
public Result visitFormalParameterList(@NotNull GroovyParser.FormalParameterListContext ctx)
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
public Result visitThisFormalParameter(@NotNull GroovyParser.ThisFormalParameterContext ctx)
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
public Result visitFormalParameter(@NotNull GroovyParser.FormalParameterContext ctx)
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
public Result visitMethodBody(@NotNull GroovyParser.MethodBodyContext ctx)
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
public Result visitQualifiedName(@NotNull GroovyParser.QualifiedNameContext ctx)
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
public Result visitQualifiedNameElement(@NotNull GroovyParser.QualifiedNameElementContext ctx)
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
public Result visitQualifiedNameElements(@NotNull GroovyParser.QualifiedNameElementsContext ctx)
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
public Result visitQualifiedClassName(@NotNull GroovyParser.QualifiedClassNameContext ctx)
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
public Result visitLiteral(@NotNull GroovyParser.LiteralContext ctx)
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
public Result visitGstring(@NotNull GroovyParser.GstringContext ctx)
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
public Result visitGstringValue(@NotNull GroovyParser.GstringValueContext ctx)
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
public Result visitGstringPath(@NotNull GroovyParser.GstringPathContext ctx)
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
public Result visitLambdaBody(@NotNull GroovyParser.LambdaBodyContext ctx)
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
public Result visitClosure(@NotNull GroovyParser.ClosureContext ctx)
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
public Result visitBlockStatementsOpt(@NotNull GroovyParser.BlockStatementsOptContext ctx)
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
public Result visitBlockStatements(@NotNull GroovyParser.BlockStatementsContext ctx)
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
public Result visitAnnotationsOpt(@NotNull GroovyParser.AnnotationsOptContext ctx)
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
public Result visitAnnotation(@NotNull GroovyParser.AnnotationContext ctx)
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
public Result visitElementValues(@NotNull GroovyParser.ElementValuesContext ctx)
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
public Result visitAnnotationName(@NotNull GroovyParser.AnnotationNameContext ctx)
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
public Result visitElementValuePairs(@NotNull GroovyParser.ElementValuePairsContext ctx)
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
public Result visitElementValuePair(@NotNull GroovyParser.ElementValuePairContext ctx)
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
public Result visitElementValuePairName(@NotNull GroovyParser.ElementValuePairNameContext ctx)
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
public Result visitElementValue(@NotNull GroovyParser.ElementValueContext ctx)
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
public Result visitBlock(@NotNull GroovyParser.BlockContext ctx)
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
public Result visitBlockStatement(@NotNull GroovyParser.BlockStatementContext ctx)
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
public Result visitVariableDeclaration(@NotNull GroovyParser.VariableDeclarationContext ctx)
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
public Result visitTypeNamePairs(@NotNull GroovyParser.TypeNamePairsContext ctx)
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
public Result visitTypeNamePair(@NotNull GroovyParser.TypeNamePairContext ctx)
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
public Result visitVariableNames(@NotNull GroovyParser.VariableNamesContext ctx)
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
public Result visitConditionalStatement(@NotNull GroovyParser.ConditionalStatementContext ctx)
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
public Result visitIfElseStatement(@NotNull GroovyParser.IfElseStatementContext ctx)
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
public Result visitSwitchStatement(@NotNull GroovyParser.SwitchStatementContext ctx)
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
public Result visitLoopStatement(@NotNull GroovyParser.LoopStatementContext ctx)
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
public Result visitContinueStatement(@NotNull GroovyParser.ContinueStatementContext ctx)
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
public Result visitBreakStatement(@NotNull GroovyParser.BreakStatementContext ctx)
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
public Result visitTryCatchStatement(@NotNull GroovyParser.TryCatchStatementContext ctx)
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
public Result visitAssertStatement(@NotNull GroovyParser.AssertStatementContext ctx)
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
public Result visitStatement(@NotNull GroovyParser.StatementContext ctx)
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
public Result visitCatchClause(@NotNull GroovyParser.CatchClauseContext ctx)
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
public Result visitCatchType(@NotNull GroovyParser.CatchTypeContext ctx)
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
public Result visitFinallyBlock(@NotNull GroovyParser.FinallyBlockContext ctx)
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
public Result visitResources(@NotNull GroovyParser.ResourcesContext ctx)
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
public Result visitResourceList(@NotNull GroovyParser.ResourceListContext ctx)
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
public Result visitResource(@NotNull GroovyParser.ResourceContext ctx)
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
public Result visitSwitchLabel(@NotNull GroovyParser.SwitchLabelContext ctx)
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
public Result visitForControl(@NotNull GroovyParser.ForControlContext ctx)
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
public Result visitEnhancedForControl(@NotNull GroovyParser.EnhancedForControlContext ctx)
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
public Result visitClassicalForControl(@NotNull GroovyParser.ClassicalForControlContext ctx)
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
public Result visitForInit(@NotNull GroovyParser.ForInitContext ctx)
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
public Result visitForUpdate(@NotNull GroovyParser.ForUpdateContext ctx)
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
public Result visitCastParExpression(@NotNull GroovyParser.CastParExpressionContext ctx)
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
public Result visitParExpression(@NotNull GroovyParser.ParExpressionContext ctx)
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
public Result visitExpressionInPar(@NotNull GroovyParser.ExpressionInParContext ctx)
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
public Result visitExpressionList(@NotNull GroovyParser.ExpressionListContext ctx)
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
public Result visitExpressionListElement(@NotNull GroovyParser.ExpressionListElementContext ctx)
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
public Result visitStatementExpression(@NotNull GroovyParser.StatementExpressionContext ctx)
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
public Result visitPostfixExpression(@NotNull GroovyParser.PostfixExpressionContext ctx)
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
public Result visitExpression(@NotNull GroovyParser.ExpressionContext ctx)
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
public Result visitCommandExpression(@NotNull GroovyParser.CommandExpressionContext ctx)
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
public Result visitCommandArgument(@NotNull GroovyParser.CommandArgumentContext ctx)
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
public Result visitPathExpression(@NotNull GroovyParser.PathExpressionContext ctx)
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
public Result visitPathElement(@NotNull GroovyParser.PathElementContext ctx)
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
public Result visitNamePart(@NotNull GroovyParser.NamePartContext ctx)
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
public Result visitDynamicMemberName(@NotNull GroovyParser.DynamicMemberNameContext ctx)
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
public Result visitIndexPropertyArgs(@NotNull GroovyParser.IndexPropertyArgsContext ctx)
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
public Result visitNamedPropertyArgs(@NotNull GroovyParser.NamedPropertyArgsContext ctx)
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
public Result visitPrimary(@NotNull GroovyParser.PrimaryContext ctx)
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
public Result visitList(@NotNull GroovyParser.ListContext ctx)
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
public Result visitMap(@NotNull GroovyParser.MapContext ctx)
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
public Result visitMapEntryList(@NotNull GroovyParser.MapEntryListContext ctx)
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
public Result visitMapEntry(@NotNull GroovyParser.MapEntryContext ctx)
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
public Result visitMapEntryLabel(@NotNull GroovyParser.MapEntryLabelContext ctx)
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
public Result visitCreator(@NotNull GroovyParser.CreatorContext ctx)
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
public Result visitDim(@NotNull GroovyParser.DimContext ctx)
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
public Result visitArrayInitializer(@NotNull GroovyParser.ArrayInitializerContext ctx)
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
public Result visitCreatedName(@NotNull GroovyParser.CreatedNameContext ctx)
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
public Result visitTypeArgumentsOrDiamond(@NotNull GroovyParser.TypeArgumentsOrDiamondContext ctx)
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
public Result visitArguments(@NotNull GroovyParser.ArgumentsContext ctx)
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
public Result visitStringLiteral(@NotNull GroovyParser.StringLiteralContext ctx)
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
public Result visitClassName(@NotNull GroovyParser.ClassNameContext ctx)
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
public Result visitIdentifier(@NotNull GroovyParser.IdentifierContext ctx)
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
public Result visitBuiltInType(@NotNull GroovyParser.BuiltInTypeContext ctx)
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
public Result visitKeywords(@NotNull GroovyParser.KeywordsContext ctx)
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
public Result visitRparen(@NotNull GroovyParser.RparenContext ctx)
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
public Result visitNls(@NotNull GroovyParser.NlsContext ctx)
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
public Result visitSep(@NotNull GroovyParser.SepContext ctx)
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
-
-