Top Description Constructors Methods
org.apache.groovy.parser.antlr4

public Class GroovyParserBaseVisitor<Result>

extends AbstractParseTreeVisitor<Result>
implements GroovyParserVisitor<Result>
Class Inheritance
All Implemented Interfaces
org.apache.groovy.parser.antlr4.GroovyParserVisitor, org.antlr.v4.runtime.tree.ParseTreeVisitor
Known Direct Subclasses
org.apache.groovy.parser.antlr4.AstBuilder
Type Parameters
<Result>
The return type of the visit operation. Use Void for operations with no return type.
Imports
java.util.Map, org.codehaus.groovy.ast.NodeMetaDataHandler, org.antlr.v4.runtime.Token, org.antlr.v4.runtime.misc.NotNull, org.antlr.v4.runtime.tree.AbstractParseTreeVisitor

This class provides an empty implementation of GroovyParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Result
visitAdditiveExprAlt(GroovyParser.AdditiveExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitAdditiveExprAlt.

Visit a parse tree produced by the additiveExprAlt labeled alternative in GroovyParser#expression.
public Result
visitAndExprAlt(GroovyParser.AndExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitAndExprAlt.

Visit a parse tree produced by the andExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitAssertStmtAlt(GroovyParser.AssertStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitAssertStmtAlt.

Visit a parse tree produced by the assertStmtAlt labeled alternative in GroovyParser#statement.
public Result
visitAssignmentExprAlt(GroovyParser.AssignmentExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitAssignmentExprAlt.

Visit a parse tree produced by the assignmentExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
public Result
public Result
public Result
visitBlockStmtAlt(GroovyParser.BlockStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitBlockStmtAlt.

Visit a parse tree produced by the blockStmtAlt labeled alternative in GroovyParser#statement.
public Result
visitBooleanLiteralAlt(GroovyParser.BooleanLiteralAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitBooleanLiteralAlt.

Visit a parse tree produced by the booleanLiteralAlt labeled alternative in GroovyParser#literal.
public Result
public Result
visitBreakStmtAlt(GroovyParser.BreakStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitBreakStmtAlt.

Visit a parse tree produced by the breakStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
visitBuiltInTypePrmrAlt(GroovyParser.BuiltInTypePrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitBuiltInTypePrmrAlt.

Visit a parse tree produced by the builtInTypePrmrAlt labeled alternative in GroovyParser#primary.
public Result
visitCastExprAlt(GroovyParser.CastExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitCastExprAlt.

Visit a parse tree produced by the castExprAlt labeled alternative in GroovyParser#castOperandExpression.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitCommandExprAlt(GroovyParser.CommandExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitCommandExprAlt.

Visit a parse tree produced by the commandExprAlt labeled alternative in GroovyParser#statementExpression.
public Result
public Result
public Result
visitConditionalExprAlt(GroovyParser.ConditionalExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitConditionalExprAlt.

Visit a parse tree produced by the conditionalExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
visitConditionalStmtAlt(GroovyParser.ConditionalStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitConditionalStmtAlt.

Visit a parse tree produced by the conditionalStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
visitContinueStmtAlt(GroovyParser.ContinueStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitContinueStmtAlt.

Visit a parse tree produced by the continueStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
public Result
public Result
visitDoWhileStmtAlt(GroovyParser.DoWhileStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitDoWhileStmtAlt.

Visit a parse tree produced by the doWhileStmtAlt labeled alternative in GroovyParser#loopStatement.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitEmptyStmtAlt(GroovyParser.EmptyStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitEmptyStmtAlt.

Visit a parse tree produced by the emptyStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitEqualityExprAlt(GroovyParser.EqualityExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitEqualityExprAlt.

Visit a parse tree produced by the equalityExprAlt labeled alternative in GroovyParser#expression.
public Result
visitExclusiveOrExprAlt(GroovyParser.ExclusiveOrExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitExclusiveOrExprAlt.

Visit a parse tree produced by the exclusiveOrExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
public Result
public Result
public Result
visitExpressionStmtAlt(GroovyParser.ExpressionStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitExpressionStmtAlt.

Visit a parse tree produced by the expressionStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
public Result
visitFloatingPointLiteralAlt(GroovyParser.FloatingPointLiteralAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitFloatingPointLiteralAlt.

Visit a parse tree produced by the floatingPointLiteralAlt labeled alternative in GroovyParser#literal.
public Result
public Result
public Result
public Result
public Result
public Result
visitForStmtAlt(GroovyParser.ForStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitForStmtAlt.

Visit a parse tree produced by the forStmtAlt labeled alternative in GroovyParser#loopStatement.
public Result
public Result
public Result
public Result
visitGstringPrmrAlt(GroovyParser.GstringPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitGstringPrmrAlt.

Visit a parse tree produced by the gstringPrmrAlt labeled alternative in GroovyParser#commandPrimary.
public Result
public Result
public Result
visitIdentifierPrmrAlt(GroovyParser.IdentifierPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitIdentifierPrmrAlt.

Visit a parse tree produced by the identifierPrmrAlt labeled alternative in GroovyParser#commandPrimary.
public Result
public Result
public Result
visitInclusiveOrExprAlt(GroovyParser.InclusiveOrExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitInclusiveOrExprAlt.

Visit a parse tree produced by the inclusiveOrExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
visitIntegerLiteralAlt(GroovyParser.IntegerLiteralAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitIntegerLiteralAlt.

Visit a parse tree produced by the integerLiteralAlt labeled alternative in GroovyParser#literal.
public Result
public Result
visitLabeledStmtAlt(GroovyParser.LabeledStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitLabeledStmtAlt.

Visit a parse tree produced by the labeledStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
public Result
visitListPrmrAlt(GroovyParser.ListPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitListPrmrAlt.

Visit a parse tree produced by the listPrmrAlt labeled alternative in GroovyParser#namedPropertyArgPrimary.
public Result
public Result
visitLiteralPrmrAlt(GroovyParser.LiteralPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitLiteralPrmrAlt.

Visit a parse tree produced by the literalPrmrAlt labeled alternative in GroovyParser#commandPrimary.
public Result
public Result
public Result
visitLogicalAndExprAlt(GroovyParser.LogicalAndExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitLogicalAndExprAlt.

Visit a parse tree produced by the logicalAndExprAlt labeled alternative in GroovyParser#expression.
public Result
visitLogicalOrExprAlt(GroovyParser.LogicalOrExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitLogicalOrExprAlt.

Visit a parse tree produced by the logicalOrExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
visitLoopStmtAlt(GroovyParser.LoopStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitLoopStmtAlt.

Visit a parse tree produced by the loopStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
public Result
public Result
public Result
visitMapPrmrAlt(GroovyParser.MapPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitMapPrmrAlt.

Visit a parse tree produced by the mapPrmrAlt labeled alternative in GroovyParser#namedPropertyArgPrimary.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitMultipleAssignmentExprAlt(GroovyParser.MultipleAssignmentExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitMultipleAssignmentExprAlt.

Visit a parse tree produced by the multipleAssignmentExprAlt labeled alternative in GroovyParser#expression.
public Result
visitMultiplicativeExprAlt(GroovyParser.MultiplicativeExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitMultiplicativeExprAlt.

Visit a parse tree produced by the multiplicativeExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
public Result
visitNewPrmrAlt(GroovyParser.NewPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitNewPrmrAlt.

Visit a parse tree produced by the newPrmrAlt labeled alternative in GroovyParser#primary.
public Result
public Result
public Result
visitNullLiteralAlt(GroovyParser.NullLiteralAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitNullLiteralAlt.

Visit a parse tree produced by the nullLiteralAlt labeled alternative in GroovyParser#literal.
public Result
public Result
visitParenPrmrAlt(GroovyParser.ParenPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitParenPrmrAlt.

Visit a parse tree produced by the parenPrmrAlt labeled alternative in GroovyParser#namedPropertyArgPrimary.
public Result
public Result
public Result
public Result
visitPostfixExprAlt(GroovyParser.PostfixExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitPostfixExprAlt.

Visit a parse tree produced by the postfixExprAlt labeled alternative in GroovyParser#castOperandExpression.
public Result
public Result
visitPowerExprAlt(GroovyParser.PowerExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitPowerExprAlt.

Visit a parse tree produced by the powerExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitRegexExprAlt(GroovyParser.RegexExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitRegexExprAlt.

Visit a parse tree produced by the regexExprAlt labeled alternative in GroovyParser#expression.
public Result
visitRelationalExprAlt(GroovyParser.RelationalExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitRelationalExprAlt.

Visit a parse tree produced by the relationalExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
public Result
public Result
visitReturnStmtAlt(GroovyParser.ReturnStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitReturnStmtAlt.

Visit a parse tree produced by the returnStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
public Result
public Result
public Result
public Result
visitShiftExprAlt(GroovyParser.ShiftExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitShiftExprAlt.

Visit a parse tree produced by the shiftExprAlt labeled alternative in GroovyParser#expression.
public Result
public Result
public Result
public Result
public Result
public Result
visitStringLiteralAlt(GroovyParser.StringLiteralAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitStringLiteralAlt.

Visit a parse tree produced by the stringLiteralAlt labeled alternative in GroovyParser#literal.
public Result
visitSuperPrmrAlt(GroovyParser.SuperPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitSuperPrmrAlt.

Visit a parse tree produced by the superPrmrAlt labeled alternative in GroovyParser#primary.
public Result
public Result
public Result
public Result
visitSynchronizedStmtAlt(GroovyParser.SynchronizedStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitSynchronizedStmtAlt.

Visit a parse tree produced by the synchronizedStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
visitThisPrmrAlt(GroovyParser.ThisPrmrAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitThisPrmrAlt.

Visit a parse tree produced by the thisPrmrAlt labeled alternative in GroovyParser#primary.
public Result
visitThrowStmtAlt(GroovyParser.ThrowStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitThrowStmtAlt.

Visit a parse tree produced by the throwStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
visitTryCatchStmtAlt(GroovyParser.TryCatchStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitTryCatchStmtAlt.

Visit a parse tree produced by the tryCatchStmtAlt labeled alternative in GroovyParser#statement.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitUnaryAddExprAlt(GroovyParser.UnaryAddExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitUnaryAddExprAlt.

Visit a parse tree produced by the unaryAddExprAlt labeled alternative in GroovyParser#castOperandExpression.
public Result
visitUnaryNotExprAlt(GroovyParser.UnaryNotExprAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitUnaryNotExprAlt.

Visit a parse tree produced by the unaryNotExprAlt labeled alternative in GroovyParser#castOperandExpression.
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
public Result
visitWhileStmtAlt(GroovyParser.WhileStmtAltContext
the parse tree
ctx
)

Implements org.apache.groovy.parser.antlr4.GroovyParserVisitor.visitWhileStmtAlt.

Visit a parse tree produced by the whileStmtAlt labeled alternative in GroovyParser#loopStatement.
Inherited from org.antlr.v4.runtime.tree.AbstractParseTreeVisitor:
aggregateResultdefaultResultshouldVisitNextChildvisitvisitChildrenvisitErrorNodevisitTerminal