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. UseVoid
for 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:
visitParse
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinaryExpression
public T visitBinaryExpression(SimpleBooleanParser.BinaryExpressionContext ctx)
Visit a parse tree produced by thebinaryExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinaryExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDecimalExpression
public T visitDecimalExpression(SimpleBooleanParser.DecimalExpressionContext ctx)
Visit a parse tree produced by thedecimalExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDecimalExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolExpression
public T visitBoolExpression(SimpleBooleanParser.BoolExpressionContext ctx)
Visit a parse tree produced by theboolExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBoolExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitContextVariables
public T visitContextVariables(SimpleBooleanParser.ContextVariablesContext ctx)
Visit a parse tree produced by thecontextVariables
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitContextVariables
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNotExpression
public T visitNotExpression(SimpleBooleanParser.NotExpressionContext ctx)
Visit a parse tree produced by thenotExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNotExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenExpression
public T visitParenExpression(SimpleBooleanParser.ParenExpressionContext ctx)
Visit a parse tree produced by theparenExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParenExpression
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitText
public T visitText(SimpleBooleanParser.TextContext ctx)
Visit a parse tree produced by thetext
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuotedText
public T visitQuotedText(SimpleBooleanParser.QuotedTextContext ctx)
Visit a parse tree produced by thequotedText
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuotedText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDoubleQuotedText
public T visitDoubleQuotedText(SimpleBooleanParser.DoubleQuotedTextContext ctx)
Visit a parse tree produced by thedoubleQuotedText
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDoubleQuotedText
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparatorExpression
public T visitComparatorExpression(SimpleBooleanParser.ComparatorExpressionContext ctx)
Visit a parse tree produced by thecomparatorExpression
labeled alternative inSimpleBooleanParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparatorExpression
in 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:
visitComparator
in 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:
visitBinary
in 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:
visitBool
in interfaceSimpleBooleanVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-