Class OQLBaseListener
- java.lang.Object
-
- step.core.ql.OQLBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,OQLListener
public class OQLBaseListener extends Object implements OQLListener
This class provides an empty implementation ofOQLListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description OQLBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterAndExpr(OQLParser.AndExprContext ctx)Enter a parse tree produced by theandExprlabeled alternative inOQLParser.expr().voidenterAtomExpr(OQLParser.AtomExprContext ctx)Enter a parse tree produced by theatomExprlabeled alternative inOQLParser.expr().voidenterEqualityExpr(OQLParser.EqualityExprContext ctx)Enter a parse tree produced by theequalityExprlabeled alternative inOQLParser.expr().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)Enter a parse tree produced by thenonQuotedStringAtomlabeled alternative inOQLParser.atom().voidenterNotExpr(OQLParser.NotExprContext ctx)Enter a parse tree produced by thenotExprlabeled alternative inOQLParser.expr().voidenterOrExpr(OQLParser.OrExprContext ctx)Enter a parse tree produced by theorExprlabeled alternative inOQLParser.expr().voidenterParExpr(OQLParser.ParExprContext ctx)Enter a parse tree produced by theparExprlabeled alternative inOQLParser.atom().voidenterParse(OQLParser.ParseContext ctx)Enter a parse tree produced byOQLParser.parse().voidenterStringAtom(OQLParser.StringAtomContext ctx)Enter a parse tree produced by thestringAtomlabeled alternative inOQLParser.atom().voidexitAndExpr(OQLParser.AndExprContext ctx)Exit a parse tree produced by theandExprlabeled alternative inOQLParser.expr().voidexitAtomExpr(OQLParser.AtomExprContext ctx)Exit a parse tree produced by theatomExprlabeled alternative inOQLParser.expr().voidexitEqualityExpr(OQLParser.EqualityExprContext ctx)Exit a parse tree produced by theequalityExprlabeled alternative inOQLParser.expr().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)Exit a parse tree produced by thenonQuotedStringAtomlabeled alternative inOQLParser.atom().voidexitNotExpr(OQLParser.NotExprContext ctx)Exit a parse tree produced by thenotExprlabeled alternative inOQLParser.expr().voidexitOrExpr(OQLParser.OrExprContext ctx)Exit a parse tree produced by theorExprlabeled alternative inOQLParser.expr().voidexitParExpr(OQLParser.ParExprContext ctx)Exit a parse tree produced by theparExprlabeled alternative inOQLParser.atom().voidexitParse(OQLParser.ParseContext ctx)Exit a parse tree produced byOQLParser.parse().voidexitStringAtom(OQLParser.StringAtomContext ctx)Exit a parse tree produced by thestringAtomlabeled alternative inOQLParser.atom().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterParse
public void enterParse(OQLParser.ParseContext ctx)
Enter a parse tree produced byOQLParser.parse().The default implementation does nothing.
- Specified by:
enterParsein interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitParse
public void exitParse(OQLParser.ParseContext ctx)
Exit a parse tree produced byOQLParser.parse().The default implementation does nothing.
- Specified by:
exitParsein interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterNotExpr
public void enterNotExpr(OQLParser.NotExprContext ctx)
Enter a parse tree produced by thenotExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
enterNotExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitNotExpr
public void exitNotExpr(OQLParser.NotExprContext ctx)
Exit a parse tree produced by thenotExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
exitNotExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterAtomExpr
public void enterAtomExpr(OQLParser.AtomExprContext ctx)
Enter a parse tree produced by theatomExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
enterAtomExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitAtomExpr
public void exitAtomExpr(OQLParser.AtomExprContext ctx)
Exit a parse tree produced by theatomExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
exitAtomExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterOrExpr
public void enterOrExpr(OQLParser.OrExprContext ctx)
Enter a parse tree produced by theorExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
enterOrExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitOrExpr
public void exitOrExpr(OQLParser.OrExprContext ctx)
Exit a parse tree produced by theorExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
exitOrExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterEqualityExpr
public void enterEqualityExpr(OQLParser.EqualityExprContext ctx)
Enter a parse tree produced by theequalityExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
enterEqualityExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitEqualityExpr
public void exitEqualityExpr(OQLParser.EqualityExprContext ctx)
Exit a parse tree produced by theequalityExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
exitEqualityExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterAndExpr
public void enterAndExpr(OQLParser.AndExprContext ctx)
Enter a parse tree produced by theandExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
enterAndExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitAndExpr
public void exitAndExpr(OQLParser.AndExprContext ctx)
Exit a parse tree produced by theandExprlabeled alternative inOQLParser.expr().The default implementation does nothing.
- Specified by:
exitAndExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterParExpr
public void enterParExpr(OQLParser.ParExprContext ctx)
Enter a parse tree produced by theparExprlabeled alternative inOQLParser.atom().The default implementation does nothing.
- Specified by:
enterParExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitParExpr
public void exitParExpr(OQLParser.ParExprContext ctx)
Exit a parse tree produced by theparExprlabeled alternative inOQLParser.atom().The default implementation does nothing.
- Specified by:
exitParExprin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterNonQuotedStringAtom
public void enterNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Enter a parse tree produced by thenonQuotedStringAtomlabeled alternative inOQLParser.atom().The default implementation does nothing.
- Specified by:
enterNonQuotedStringAtomin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitNonQuotedStringAtom
public void exitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Exit a parse tree produced by thenonQuotedStringAtomlabeled alternative inOQLParser.atom().The default implementation does nothing.
- Specified by:
exitNonQuotedStringAtomin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterStringAtom
public void enterStringAtom(OQLParser.StringAtomContext ctx)
Enter a parse tree produced by thestringAtomlabeled alternative inOQLParser.atom().The default implementation does nothing.
- Specified by:
enterStringAtomin interfaceOQLListener- Parameters:
ctx- the parse tree
-
exitStringAtom
public void exitStringAtom(OQLParser.StringAtomContext ctx)
Exit a parse tree produced by thestringAtomlabeled alternative inOQLParser.atom().The default implementation does nothing.
- Specified by:
exitStringAtomin interfaceOQLListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-