T - The return type of the visit operation. Use Void for
operations with no return type.public class ConditionBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements ConditionVisitor<T>
ConditionVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
ConditionBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitAndExpression(ConditionParser.AndExpressionContext ctx)
AndExpression
labeled alternative in ConditionParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAndExpression in interface ConditionVisitor<T>ctx - the parse treepublic T visitStringCompareExpression(ConditionParser.StringCompareExpressionContext ctx)
StringCompareExpression
labeled alternative in ConditionParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringCompareExpression in interface ConditionVisitor<T>ctx - the parse treepublic T visitNotExpression(ConditionParser.NotExpressionContext ctx)
NotExpression
labeled alternative in ConditionParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNotExpression in interface ConditionVisitor<T>ctx - the parse treepublic T visitOrExpression(ConditionParser.OrExpressionContext ctx)
OrExpression
labeled alternative in ConditionParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOrExpression in interface ConditionVisitor<T>ctx - the parse treepublic T visitSubExpression(ConditionParser.SubExpressionContext ctx)
SubExpression
labeled alternative in ConditionParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSubExpression in interface ConditionVisitor<T>ctx - the parse treepublic T visitStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext ctx)
StringMatchesRegexp
labeled alternative in ConditionParser.stringComparison().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringMatchesRegexp in interface ConditionVisitor<T>ctx - the parse treepublic T visitStringEqualsString(ConditionParser.StringEqualsStringContext ctx)
StringEqualsString
labeled alternative in ConditionParser.stringComparison().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringEqualsString in interface ConditionVisitor<T>ctx - the parse treepublic T visitStringIsPresent(ConditionParser.StringIsPresentContext ctx)
StringIsPresent
labeled alternative in ConditionParser.stringComparison().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringIsPresent in interface ConditionVisitor<T>ctx - the parse treepublic T visitStringExpression(ConditionParser.StringExpressionContext ctx)
ConditionParser.stringExpression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringExpression in interface ConditionVisitor<T>ctx - the parse treepublic T visitFunction(ConditionParser.FunctionContext ctx)
ConditionParser.function().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFunction in interface ConditionVisitor<T>ctx - the parse treepublic T visitArglist(ConditionParser.ArglistContext ctx)
ConditionParser.arglist().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArglist in interface ConditionVisitor<T>ctx - the parse treepublic T visitString(ConditionParser.StringContext ctx)
ConditionParser.string().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitString in interface ConditionVisitor<T>ctx - the parse treeCopyright © 2013–2020 Hotels.com. All rights reserved.