T
- The return type of the visit operation. Use Void
for
operations with no return type.public class FormulaBaseVisitor<T> extends <any> implements FormulaVisitor<T>
FormulaVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
FormulaBaseVisitor() |
public T visitExpression(FormulaParser.ExpressionContext ctx)
FormulaParser.expression()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitExpression
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitExpression_op(FormulaParser.Expression_opContext ctx)
FormulaParser.expression_op()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitExpression_op
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitConditional(FormulaParser.ConditionalContext ctx)
FormulaParser.conditional()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitConditional
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitPredicate_expression(FormulaParser.Predicate_expressionContext ctx)
FormulaParser.predicate_expression()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitPredicate_expression
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitPredicate_term(FormulaParser.Predicate_termContext ctx)
FormulaParser.predicate_term()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitPredicate_term
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitPredicate_factor(FormulaParser.Predicate_factorContext ctx)
FormulaParser.predicate_factor()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitPredicate_factor
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitPredicate_atom(FormulaParser.Predicate_atomContext ctx)
FormulaParser.predicate_atom()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitPredicate_atom
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitLess(FormulaParser.LessContext ctx)
FormulaParser.less()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitLess
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitGreater(FormulaParser.GreaterContext ctx)
FormulaParser.greater()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitGreater
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitLess_equal(FormulaParser.Less_equalContext ctx)
FormulaParser.less_equal()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitLess_equal
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitGreater_equal(FormulaParser.Greater_equalContext ctx)
FormulaParser.greater_equal()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitGreater_equal
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitEqual(FormulaParser.EqualContext ctx)
FormulaParser.equal()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitEqual
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitNot_equal(FormulaParser.Not_equalContext ctx)
FormulaParser.not_equal()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitNot_equal
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitTerm(FormulaParser.TermContext ctx)
FormulaParser.term()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitTerm
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitTerm_op(FormulaParser.Term_opContext ctx)
FormulaParser.term_op()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitTerm_op
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitFactor(FormulaParser.FactorContext ctx)
FormulaParser.factor()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitFactor
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitAtom(FormulaParser.AtomContext ctx)
FormulaParser.atom()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitAtom
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitScientific(FormulaParser.ScientificContext ctx)
FormulaParser.scientific()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitScientific
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitNumber(FormulaParser.NumberContext ctx)
FormulaParser.number()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitNumber
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitVariable(FormulaParser.VariableContext ctx)
FormulaParser.variable()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitVariable
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitParameter(FormulaParser.ParameterContext ctx)
FormulaParser.parameter()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitParameter
in interface FormulaVisitor<T>
ctx
- the parse treepublic T visitIdentifier(FormulaParser.IdentifierContext ctx)
FormulaParser.identifier()
.
The default implementation returns the result of calling
#visitChildren
on ctx
.
visitIdentifier
in interface FormulaVisitor<T>
ctx
- the parse tree