Class OQLBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- step.core.ql.OQLBaseVisitor<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>,OQLVisitor<T>
- Direct Known Subclasses:
OQLFilterVisitor
public class OQLBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements OQLVisitor<T>
This class provides an empty implementation ofOQLVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description OQLBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TvisitAndExpr(OQLParser.AndExprContext ctx)Visit a parse tree produced by theandExprlabeled alternative inOQLParser.expr().TvisitAtomExpr(OQLParser.AtomExprContext ctx)Visit a parse tree produced by theatomExprlabeled alternative inOQLParser.expr().TvisitEqualityExpr(OQLParser.EqualityExprContext ctx)Visit a parse tree produced by theequalityExprlabeled alternative inOQLParser.expr().TvisitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)Visit a parse tree produced by thenonQuotedStringAtomlabeled alternative inOQLParser.atom().TvisitNotExpr(OQLParser.NotExprContext ctx)Visit a parse tree produced by thenotExprlabeled alternative inOQLParser.expr().TvisitOrExpr(OQLParser.OrExprContext ctx)Visit a parse tree produced by theorExprlabeled alternative inOQLParser.expr().TvisitParExpr(OQLParser.ParExprContext ctx)Visit a parse tree produced by theparExprlabeled alternative inOQLParser.atom().TvisitParse(OQLParser.ParseContext ctx)Visit a parse tree produced byOQLParser.parse().TvisitStringAtom(OQLParser.StringAtomContext ctx)Visit a parse tree produced by thestringAtomlabeled alternative inOQLParser.atom().-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitParse
public T visitParse(OQLParser.ParseContext ctx)
Visit a parse tree produced byOQLParser.parse().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParsein interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpr
public T visitNotExpr(OQLParser.NotExprContext ctx)
Visit a parse tree produced by thenotExprlabeled alternative inOQLParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNotExprin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtomExpr
public T visitAtomExpr(OQLParser.AtomExprContext ctx)
Visit a parse tree produced by theatomExprlabeled alternative inOQLParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtomExprin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrExpr
public T visitOrExpr(OQLParser.OrExprContext ctx)
Visit a parse tree produced by theorExprlabeled alternative inOQLParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrExprin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpr
public T visitEqualityExpr(OQLParser.EqualityExprContext ctx)
Visit a parse tree produced by theequalityExprlabeled alternative inOQLParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExprin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpr
public T visitAndExpr(OQLParser.AndExprContext ctx)
Visit a parse tree produced by theandExprlabeled alternative inOQLParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndExprin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpr
public T visitParExpr(OQLParser.ParExprContext ctx)
Visit a parse tree produced by theparExprlabeled alternative inOQLParser.atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParExprin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonQuotedStringAtom
public T visitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Visit a parse tree produced by thenonQuotedStringAtomlabeled alternative inOQLParser.atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonQuotedStringAtomin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringAtom
public T visitStringAtom(OQLParser.StringAtomContext ctx)
Visit a parse tree produced by thestringAtomlabeled alternative inOQLParser.atom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringAtomin interfaceOQLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-