Class OQLFilterVisitor
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- step.core.ql.OQLBaseVisitor<step.core.collections.Filter>
-
- step.core.ql.OQLFilterVisitor
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<step.core.collections.Filter>,OQLVisitor<step.core.collections.Filter>
public class OQLFilterVisitor extends OQLBaseVisitor<step.core.collections.Filter>
-
-
Constructor Summary
Constructors Constructor Description OQLFilterVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringunescapeStringAtom(java.lang.String str)protected java.lang.StringunescapeStringIfNecessary(java.lang.String text1)step.core.collections.FiltervisitAndExpr(OQLParser.AndExprContext ctx)Visit a parse tree produced by theandExprlabeled alternative inOQLParser.expr().step.core.collections.FiltervisitEqualityExpr(OQLParser.EqualityExprContext ctx)Visit a parse tree produced by theequalityExprlabeled alternative inOQLParser.expr().step.core.collections.FiltervisitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)Visit a parse tree produced by thenonQuotedStringAtomlabeled alternative inOQLParser.atom().step.core.collections.FiltervisitNotExpr(OQLParser.NotExprContext ctx)Visit a parse tree produced by thenotExprlabeled alternative inOQLParser.expr().step.core.collections.FiltervisitOrExpr(OQLParser.OrExprContext ctx)Visit a parse tree produced by theorExprlabeled alternative inOQLParser.expr().step.core.collections.FiltervisitParExpr(OQLParser.ParExprContext ctx)Visit a parse tree produced by theparExprlabeled alternative inOQLParser.atom().step.core.collections.FiltervisitStringAtom(OQLParser.StringAtomContext ctx)Visit a parse tree produced by thestringAtomlabeled alternative inOQLParser.atom().-
Methods inherited from class step.core.ql.OQLBaseVisitor
visitAtomExpr, visitParse
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitAndExpr
public step.core.collections.Filter visitAndExpr(OQLParser.AndExprContext ctx)
Description copied from class:OQLBaseVisitorVisit 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<step.core.collections.Filter>- Overrides:
visitAndExprin classOQLBaseVisitor<step.core.collections.Filter>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpr
public step.core.collections.Filter visitEqualityExpr(OQLParser.EqualityExprContext ctx)
Description copied from class:OQLBaseVisitorVisit 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<step.core.collections.Filter>- Overrides:
visitEqualityExprin classOQLBaseVisitor<step.core.collections.Filter>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
unescapeStringIfNecessary
protected java.lang.String unescapeStringIfNecessary(java.lang.String text1)
-
visitOrExpr
public step.core.collections.Filter visitOrExpr(OQLParser.OrExprContext ctx)
Description copied from class:OQLBaseVisitorVisit 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<step.core.collections.Filter>- Overrides:
visitOrExprin classOQLBaseVisitor<step.core.collections.Filter>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNotExpr
public step.core.collections.Filter visitNotExpr(OQLParser.NotExprContext ctx)
Description copied from class:OQLBaseVisitorVisit 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<step.core.collections.Filter>- Overrides:
visitNotExprin classOQLBaseVisitor<step.core.collections.Filter>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParExpr
public step.core.collections.Filter visitParExpr(OQLParser.ParExprContext ctx)
Description copied from class:OQLBaseVisitorVisit 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<step.core.collections.Filter>- Overrides:
visitParExprin classOQLBaseVisitor<step.core.collections.Filter>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonQuotedStringAtom
public step.core.collections.Filter visitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Description copied from class:OQLBaseVisitorVisit 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<step.core.collections.Filter>- Overrides:
visitNonQuotedStringAtomin classOQLBaseVisitor<step.core.collections.Filter>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringAtom
public step.core.collections.Filter visitStringAtom(OQLParser.StringAtomContext ctx)
Description copied from class:OQLBaseVisitorVisit 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<step.core.collections.Filter>- Overrides:
visitStringAtomin classOQLBaseVisitor<step.core.collections.Filter>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
unescapeStringAtom
protected java.lang.String unescapeStringAtom(java.lang.String str)
-
-