T
- The return type of the visit operation. Use Void
for
operations with no return type.public class PSLBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements PSLVisitor<T>
PSLVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
PSLBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public T visitProgram(PSLParser.ProgramContext ctx)
PSLParser.program()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitProgram
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitPslRule(PSLParser.PslRuleContext ctx)
PSLParser.pslRule()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPslRule
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitPslRulePartial(PSLParser.PslRulePartialContext ctx)
PSLParser.pslRulePartial()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPslRulePartial
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitPredicate(PSLParser.PredicateContext ctx)
PSLParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPredicate
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitAtom(PSLParser.AtomContext ctx)
PSLParser.atom()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAtom
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitTerm(PSLParser.TermContext ctx)
PSLParser.term()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTerm
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitVariable(PSLParser.VariableContext ctx)
PSLParser.variable()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitVariable
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitConstant(PSLParser.ConstantContext ctx)
PSLParser.constant()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitConstant
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalRule(PSLParser.LogicalRuleContext ctx)
PSLParser.logicalRule()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalRule
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitWeightedLogicalRule(PSLParser.WeightedLogicalRuleContext ctx)
PSLParser.weightedLogicalRule()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitWeightedLogicalRule
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitUnweightedLogicalRule(PSLParser.UnweightedLogicalRuleContext ctx)
PSLParser.unweightedLogicalRule()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUnweightedLogicalRule
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalNegationValue(PSLParser.LogicalNegationValueContext ctx)
PSLParser.logicalNegationValue()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalNegationValue
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalConjunctiveValue(PSLParser.LogicalConjunctiveValueContext ctx)
PSLParser.logicalConjunctiveValue()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalConjunctiveValue
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalDisjunctiveValue(PSLParser.LogicalDisjunctiveValueContext ctx)
PSLParser.logicalDisjunctiveValue()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalDisjunctiveValue
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalConjunctiveExpression(PSLParser.LogicalConjunctiveExpressionContext ctx)
PSLParser.logicalConjunctiveExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalConjunctiveExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalDisjunctiveExpression(PSLParser.LogicalDisjunctiveExpressionContext ctx)
PSLParser.logicalDisjunctiveExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalDisjunctiveExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalImplicationExpression(PSLParser.LogicalImplicationExpressionContext ctx)
PSLParser.logicalImplicationExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalImplicationExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLogicalRuleExpression(PSLParser.LogicalRuleExpressionContext ctx)
PSLParser.logicalRuleExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLogicalRuleExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitArithmeticRule(PSLParser.ArithmeticRuleContext ctx)
PSLParser.arithmeticRule()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArithmeticRule
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitWeightedArithmeticRule(PSLParser.WeightedArithmeticRuleContext ctx)
PSLParser.weightedArithmeticRule()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitWeightedArithmeticRule
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitUnweightedArithmeticRule(PSLParser.UnweightedArithmeticRuleContext ctx)
PSLParser.unweightedArithmeticRule()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitUnweightedArithmeticRule
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitArithmeticRuleExpression(PSLParser.ArithmeticRuleExpressionContext ctx)
PSLParser.arithmeticRuleExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArithmeticRuleExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLinearArithmeticExpression(PSLParser.LinearArithmeticExpressionContext ctx)
PSLParser.linearArithmeticExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLinearArithmeticExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLinearArithmeticOperand(PSLParser.LinearArithmeticOperandContext ctx)
PSLParser.linearArithmeticOperand()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLinearArithmeticOperand
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitArithmeticCoefficientOperand(PSLParser.ArithmeticCoefficientOperandContext ctx)
PSLParser.arithmeticCoefficientOperand()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArithmeticCoefficientOperand
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitSummationAtom(PSLParser.SummationAtomContext ctx)
PSLParser.summationAtom()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSummationAtom
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitSummationVariable(PSLParser.SummationVariableContext ctx)
PSLParser.summationVariable()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSummationVariable
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitCoefficient(PSLParser.CoefficientContext ctx)
PSLParser.coefficient()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCoefficient
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitCoefficientMultiplicativeExpression(PSLParser.CoefficientMultiplicativeExpressionContext ctx)
PSLParser.coefficientMultiplicativeExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCoefficientMultiplicativeExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitCoefficientAdditiveExpression(PSLParser.CoefficientAdditiveExpressionContext ctx)
PSLParser.coefficientAdditiveExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCoefficientAdditiveExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitCoefficientExpression(PSLParser.CoefficientExpressionContext ctx)
PSLParser.coefficientExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCoefficientExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitCoefficientOperator(PSLParser.CoefficientOperatorContext ctx)
PSLParser.coefficientOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCoefficientOperator
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitCoefficientFunction(PSLParser.CoefficientFunctionContext ctx)
PSLParser.coefficientFunction()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCoefficientFunction
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitCoefficientFunctionOperator(PSLParser.CoefficientFunctionOperatorContext ctx)
PSLParser.coefficientFunctionOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitCoefficientFunctionOperator
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitFilterClause(PSLParser.FilterClauseContext ctx)
PSLParser.filterClause()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitFilterClause
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitBooleanValue(PSLParser.BooleanValueContext ctx)
PSLParser.booleanValue()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBooleanValue
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitBooleanConjunctiveExpression(PSLParser.BooleanConjunctiveExpressionContext ctx)
PSLParser.booleanConjunctiveExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBooleanConjunctiveExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitBooleanDisjunctiveExpression(PSLParser.BooleanDisjunctiveExpressionContext ctx)
PSLParser.booleanDisjunctiveExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBooleanDisjunctiveExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitBooleanExpression(PSLParser.BooleanExpressionContext ctx)
PSLParser.booleanExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBooleanExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitWeightExpression(PSLParser.WeightExpressionContext ctx)
PSLParser.weightExpression()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitWeightExpression
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitNot(PSLParser.NotContext ctx)
PSLParser.not()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNot
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitAnd(PSLParser.AndContext ctx)
PSLParser.and()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitAnd
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitOr(PSLParser.OrContext ctx)
PSLParser.or()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitOr
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitThen(PSLParser.ThenContext ctx)
PSLParser.then()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitThen
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitImpliedBy(PSLParser.ImpliedByContext ctx)
PSLParser.impliedBy()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitImpliedBy
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitTermOperator(PSLParser.TermOperatorContext ctx)
PSLParser.termOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTermOperator
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitTermEqual(PSLParser.TermEqualContext ctx)
PSLParser.termEqual()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTermEqual
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitNotEqual(PSLParser.NotEqualContext ctx)
PSLParser.notEqual()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNotEqual
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitNonSymmetric(PSLParser.NonSymmetricContext ctx)
PSLParser.nonSymmetric()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNonSymmetric
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitArithmeticRuleRelation(PSLParser.ArithmeticRuleRelationContext ctx)
PSLParser.arithmeticRuleRelation()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArithmeticRuleRelation
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitArithmeticOperator(PSLParser.ArithmeticOperatorContext ctx)
PSLParser.arithmeticOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitArithmeticOperator
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitLinearOperator(PSLParser.LinearOperatorContext ctx)
PSLParser.linearOperator()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLinearOperator
in interface PSLVisitor<T>
ctx
- the parse treepublic T visitNumber(PSLParser.NumberContext ctx)
PSLParser.number()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNumber
in interface PSLVisitor<T>
ctx
- the parse treeCopyright © 2018 University of California, Santa Cruz. All rights reserved.