Class ExpressionBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- com.yahoo.elide.generated.parsers.ExpressionBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
ExpressionVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class ExpressionBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements ExpressionVisitor<T>
This class provides an empty implementation ofExpressionVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description ExpressionBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitStart
public T visitStart(ExpressionParser.StartContext ctx)
Visit a parse tree produced byExpressionParser.start().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStartin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPERMISSION
public T visitPERMISSION(ExpressionParser.PERMISSIONContext ctx)
Visit a parse tree produced by thePERMISSIONlabeled alternative inExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPERMISSIONin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNOT
public T visitNOT(ExpressionParser.NOTContext ctx)
Visit a parse tree produced by theNOTlabeled alternative inExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNOTin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOR
public T visitOR(ExpressionParser.ORContext ctx)
Visit a parse tree produced by theORlabeled alternative inExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitORin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAND
public T visitAND(ExpressionParser.ANDContext ctx)
Visit a parse tree produced by theANDlabeled alternative inExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitANDin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPAREN
public T visitPAREN(ExpressionParser.PARENContext ctx)
Visit a parse tree produced by thePARENlabeled alternative inExpressionParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPARENin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPermissionClass
public T visitPermissionClass(ExpressionParser.PermissionClassContext ctx)
Visit a parse tree produced byExpressionParser.permissionClass().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPermissionClassin interfaceExpressionVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-