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. UseVoid
for 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 T
visitAndExpr(OQLParser.AndExprContext ctx)
Visit a parse tree produced by theandExpr
labeled alternative inOQLParser.expr()
.T
visitAtomExpr(OQLParser.AtomExprContext ctx)
Visit a parse tree produced by theatomExpr
labeled alternative inOQLParser.expr()
.T
visitEqualityExpr(OQLParser.EqualityExprContext ctx)
Visit a parse tree produced by theequalityExpr
labeled alternative inOQLParser.expr()
.T
visitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Visit a parse tree produced by thenonQuotedStringAtom
labeled alternative inOQLParser.atom()
.T
visitNotExpr(OQLParser.NotExprContext ctx)
Visit a parse tree produced by thenotExpr
labeled alternative inOQLParser.expr()
.T
visitOrExpr(OQLParser.OrExprContext ctx)
Visit a parse tree produced by theorExpr
labeled alternative inOQLParser.expr()
.T
visitParExpr(OQLParser.ParExprContext ctx)
Visit a parse tree produced by theparExpr
labeled alternative inOQLParser.atom()
.T
visitParse(OQLParser.ParseContext ctx)
Visit a parse tree produced byOQLParser.parse()
.T
visitStringAtom(OQLParser.StringAtomContext ctx)
Visit a parse tree produced by thestringAtom
labeled 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:
visitParse
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNotExpr
public T visitNotExpr(OQLParser.NotExprContext ctx)
Visit a parse tree produced by thenotExpr
labeled alternative inOQLParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNotExpr
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAtomExpr
public T visitAtomExpr(OQLParser.AtomExprContext ctx)
Visit a parse tree produced by theatomExpr
labeled alternative inOQLParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAtomExpr
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrExpr
public T visitOrExpr(OQLParser.OrExprContext ctx)
Visit a parse tree produced by theorExpr
labeled alternative inOQLParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrExpr
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEqualityExpr
public T visitEqualityExpr(OQLParser.EqualityExprContext ctx)
Visit a parse tree produced by theequalityExpr
labeled alternative inOQLParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEqualityExpr
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAndExpr
public T visitAndExpr(OQLParser.AndExprContext ctx)
Visit a parse tree produced by theandExpr
labeled alternative inOQLParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAndExpr
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParExpr
public T visitParExpr(OQLParser.ParExprContext ctx)
Visit a parse tree produced by theparExpr
labeled alternative inOQLParser.atom()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParExpr
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNonQuotedStringAtom
public T visitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Visit a parse tree produced by thenonQuotedStringAtom
labeled alternative inOQLParser.atom()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNonQuotedStringAtom
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringAtom
public T visitStringAtom(OQLParser.StringAtomContext ctx)
Visit a parse tree produced by thestringAtom
labeled alternative inOQLParser.atom()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStringAtom
in interfaceOQLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-