Class SimpleBooleanBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.idempiere.expression.logic.SimpleBooleanBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,SimpleBooleanVisitor<T>
- Direct Known Subclasses:
EvaluationVisitor
public class SimpleBooleanBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements SimpleBooleanVisitor<T>
This class provides an empty implementation ofSimpleBooleanVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SimpleBooleanBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitParse
public T visitParse(SimpleBooleanParser.ParseContext ctx)
Visit a parse tree produced bySimpleBooleanParser.parse().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParsein interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryExpression
public T visitBinaryExpression(SimpleBooleanParser.BinaryExpressionContext ctx)
Visit a parse tree produced by thebinaryExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecimalExpression
public T visitDecimalExpression(SimpleBooleanParser.DecimalExpressionContext ctx)
Visit a parse tree produced by thedecimalExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDecimalExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolExpression
public T visitBoolExpression(SimpleBooleanParser.BoolExpressionContext ctx)
Visit a parse tree produced by theboolExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContextVariables
public T visitContextVariables(SimpleBooleanParser.ContextVariablesContext ctx)
Visit a parse tree produced by thecontextVariableslabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContextVariablesin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpression
public T visitNotExpression(SimpleBooleanParser.NotExpressionContext ctx)
Visit a parse tree produced by thenotExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenExpression
public T visitParenExpression(SimpleBooleanParser.ParenExpressionContext ctx)
Visit a parse tree produced by theparenExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitText
public T visitText(SimpleBooleanParser.TextContext ctx)
Visit a parse tree produced by thetextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedText
public T visitQuotedText(SimpleBooleanParser.QuotedTextContext ctx)
Visit a parse tree produced by thequotedTextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuotedTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedText
public T visitDoubleQuotedText(SimpleBooleanParser.DoubleQuotedTextContext ctx)
Visit a parse tree produced by thedoubleQuotedTextlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDoubleQuotedTextin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparatorExpression
public T visitComparatorExpression(SimpleBooleanParser.ComparatorExpressionContext ctx)
Visit a parse tree produced by thecomparatorExpressionlabeled alternative inSimpleBooleanParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparatorExpressionin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparator
public T visitComparator(SimpleBooleanParser.ComparatorContext ctx)
Visit a parse tree produced bySimpleBooleanParser.comparator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparatorin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinary
public T visitBinary(SimpleBooleanParser.BinaryContext ctx)
Visit a parse tree produced bySimpleBooleanParser.binary().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBool
public T visitBool(SimpleBooleanParser.BoolContext ctx)
Visit a parse tree produced bySimpleBooleanParser.bool().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolin interfaceSimpleBooleanVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-