T
- The return type of the visit operation. Use Void
for
operations with no return type.public class JLambdaBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements JLambdaVisitor<T>
JLambdaVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
JLambdaBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitUnit(JLambdaParser.UnitContext ctx)
JLambdaParser.unit()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUnit
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitSeqExpression(JLambdaParser.SeqExpressionContext ctx)
seqExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSeqExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitLetExpression(JLambdaParser.LetExpressionContext ctx)
letExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLetExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitDefineExpression(JLambdaParser.DefineExpressionContext ctx)
defineExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDefineExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitLambdaExpression(JLambdaParser.LambdaExpressionContext ctx)
lambdaExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLambdaExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitInvokeExpression(JLambdaParser.InvokeExpressionContext ctx)
invokeExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitInvokeExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitSinvokeExpression(JLambdaParser.SinvokeExpressionContext ctx)
sinvokeExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSinvokeExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitApplyExpression(JLambdaParser.ApplyExpressionContext ctx)
applyExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitApplyExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitDataExpression(JLambdaParser.DataExpressionContext ctx)
dataExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDataExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitUnaryExpression(JLambdaParser.UnaryExpressionContext ctx)
unaryExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUnaryExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitBinaryExpression(JLambdaParser.BinaryExpressionContext ctx)
binaryExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBinaryExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitTernaryExpression(JLambdaParser.TernaryExpressionContext ctx)
ternaryExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTernaryExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitOneOrMoreExpression(JLambdaParser.OneOrMoreExpressionContext ctx)
oneOrMoreExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitOneOrMoreExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitTwoOrMoreExpression(JLambdaParser.TwoOrMoreExpressionContext ctx)
twoOrMoreExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTwoOrMoreExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitNaryExpression(JLambdaParser.NaryExpressionContext ctx)
naryExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNaryExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitObjectExpression(JLambdaParser.ObjectExpressionContext ctx)
objectExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjectExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitNullExpression(JLambdaParser.NullExpressionContext ctx)
nullExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNullExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitForExpression(JLambdaParser.ForExpressionContext ctx)
forExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitForExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitArrayExpression(JLambdaParser.ArrayExpressionContext ctx)
arrayExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArrayExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitMkarrayExpression(JLambdaParser.MkarrayExpressionContext ctx)
mkarrayExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitMkarrayExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitTryExpression(JLambdaParser.TryExpressionContext ctx)
tryExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTryExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitDoExpression(JLambdaParser.DoExpressionContext ctx)
doExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDoExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitQuoteExpression(JLambdaParser.QuoteExpressionContext ctx)
quoteExpression
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitQuoteExpression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitStringLiteral(JLambdaParser.StringLiteralContext ctx)
stringLiteral
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStringLiteral
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitIdentifierLiteral(JLambdaParser.IdentifierLiteralContext ctx)
identifierLiteral
labeled alternative in JLambdaParser.expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIdentifierLiteral
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitDo_binding_list(JLambdaParser.Do_binding_listContext ctx)
JLambdaParser.do_binding_list()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDo_binding_list
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitDo_binding_triple(JLambdaParser.Do_binding_tripleContext ctx)
JLambdaParser.do_binding_triple()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDo_binding_triple
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitDo_exit_clause(JLambdaParser.Do_exit_clauseContext ctx)
JLambdaParser.do_exit_clause()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitDo_exit_clause
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitParameter_list(JLambdaParser.Parameter_listContext ctx)
JLambdaParser.parameter_list()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitParameter_list
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitParameter(JLambdaParser.ParameterContext ctx)
JLambdaParser.parameter()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitParameter
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitBinding_list(JLambdaParser.Binding_listContext ctx)
JLambdaParser.binding_list()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBinding_list
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitBinding_pair(JLambdaParser.Binding_pairContext ctx)
JLambdaParser.binding_pair()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBinding_pair
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitCatch_expression(JLambdaParser.Catch_expressionContext ctx)
JLambdaParser.catch_expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCatch_expression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitRange_expression(JLambdaParser.Range_expressionContext ctx)
JLambdaParser.range_expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRange_expression
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitData(JLambdaParser.DataContext ctx)
JLambdaParser.data()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitData
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitString(JLambdaParser.StringContext ctx)
JLambdaParser.string()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitString
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitToken(JLambdaParser.TokenContext ctx)
JLambdaParser.token()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitToken
in interface JLambdaVisitor<T>
ctx
- the parse treepublic T visitType_expression(JLambdaParser.Type_expressionContext ctx)
JLambdaParser.type_expression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitType_expression
in interface JLambdaVisitor<T>
ctx
- the parse tree