Class OQLBaseListener
- java.lang.Object
-
- step.core.ql.OQLBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,OQLListener
public class OQLBaseListener extends java.lang.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 void
enterAndExpr(OQLParser.AndExprContext ctx)
Enter a parse tree produced by theandExpr
labeled alternative inOQLParser.expr()
.void
enterAtomExpr(OQLParser.AtomExprContext ctx)
Enter a parse tree produced by theatomExpr
labeled alternative inOQLParser.expr()
.void
enterEqualityExpr(OQLParser.EqualityExprContext ctx)
Enter a parse tree produced by theequalityExpr
labeled alternative inOQLParser.expr()
.void
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
enterNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Enter a parse tree produced by thenonQuotedStringAtom
labeled alternative inOQLParser.atom()
.void
enterNotExpr(OQLParser.NotExprContext ctx)
Enter a parse tree produced by thenotExpr
labeled alternative inOQLParser.expr()
.void
enterOrExpr(OQLParser.OrExprContext ctx)
Enter a parse tree produced by theorExpr
labeled alternative inOQLParser.expr()
.void
enterParExpr(OQLParser.ParExprContext ctx)
Enter a parse tree produced by theparExpr
labeled alternative inOQLParser.atom()
.void
enterParse(OQLParser.ParseContext ctx)
Enter a parse tree produced byOQLParser.parse()
.void
enterStringAtom(OQLParser.StringAtomContext ctx)
Enter a parse tree produced by thestringAtom
labeled alternative inOQLParser.atom()
.void
exitAndExpr(OQLParser.AndExprContext ctx)
Exit a parse tree produced by theandExpr
labeled alternative inOQLParser.expr()
.void
exitAtomExpr(OQLParser.AtomExprContext ctx)
Exit a parse tree produced by theatomExpr
labeled alternative inOQLParser.expr()
.void
exitEqualityExpr(OQLParser.EqualityExprContext ctx)
Exit a parse tree produced by theequalityExpr
labeled alternative inOQLParser.expr()
.void
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
exitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Exit a parse tree produced by thenonQuotedStringAtom
labeled alternative inOQLParser.atom()
.void
exitNotExpr(OQLParser.NotExprContext ctx)
Exit a parse tree produced by thenotExpr
labeled alternative inOQLParser.expr()
.void
exitOrExpr(OQLParser.OrExprContext ctx)
Exit a parse tree produced by theorExpr
labeled alternative inOQLParser.expr()
.void
exitParExpr(OQLParser.ParExprContext ctx)
Exit a parse tree produced by theparExpr
labeled alternative inOQLParser.atom()
.void
exitParse(OQLParser.ParseContext ctx)
Exit a parse tree produced byOQLParser.parse()
.void
exitStringAtom(OQLParser.StringAtomContext ctx)
Exit a parse tree produced by thestringAtom
labeled alternative inOQLParser.atom()
.void
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
void
visitTerminal(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:
enterParse
in 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:
exitParse
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterNotExpr
public void enterNotExpr(OQLParser.NotExprContext ctx)
Enter a parse tree produced by thenotExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
enterNotExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitNotExpr
public void exitNotExpr(OQLParser.NotExprContext ctx)
Exit a parse tree produced by thenotExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
exitNotExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterAtomExpr
public void enterAtomExpr(OQLParser.AtomExprContext ctx)
Enter a parse tree produced by theatomExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
enterAtomExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitAtomExpr
public void exitAtomExpr(OQLParser.AtomExprContext ctx)
Exit a parse tree produced by theatomExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
exitAtomExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterOrExpr
public void enterOrExpr(OQLParser.OrExprContext ctx)
Enter a parse tree produced by theorExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
enterOrExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitOrExpr
public void exitOrExpr(OQLParser.OrExprContext ctx)
Exit a parse tree produced by theorExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
exitOrExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterEqualityExpr
public void enterEqualityExpr(OQLParser.EqualityExprContext ctx)
Enter a parse tree produced by theequalityExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
enterEqualityExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitEqualityExpr
public void exitEqualityExpr(OQLParser.EqualityExprContext ctx)
Exit a parse tree produced by theequalityExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
exitEqualityExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterAndExpr
public void enterAndExpr(OQLParser.AndExprContext ctx)
Enter a parse tree produced by theandExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
enterAndExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitAndExpr
public void exitAndExpr(OQLParser.AndExprContext ctx)
Exit a parse tree produced by theandExpr
labeled alternative inOQLParser.expr()
.The default implementation does nothing.
- Specified by:
exitAndExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterParExpr
public void enterParExpr(OQLParser.ParExprContext ctx)
Enter a parse tree produced by theparExpr
labeled alternative inOQLParser.atom()
.The default implementation does nothing.
- Specified by:
enterParExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitParExpr
public void exitParExpr(OQLParser.ParExprContext ctx)
Exit a parse tree produced by theparExpr
labeled alternative inOQLParser.atom()
.The default implementation does nothing.
- Specified by:
exitParExpr
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterNonQuotedStringAtom
public void enterNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Enter a parse tree produced by thenonQuotedStringAtom
labeled alternative inOQLParser.atom()
.The default implementation does nothing.
- Specified by:
enterNonQuotedStringAtom
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitNonQuotedStringAtom
public void exitNonQuotedStringAtom(OQLParser.NonQuotedStringAtomContext ctx)
Exit a parse tree produced by thenonQuotedStringAtom
labeled alternative inOQLParser.atom()
.The default implementation does nothing.
- Specified by:
exitNonQuotedStringAtom
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterStringAtom
public void enterStringAtom(OQLParser.StringAtomContext ctx)
Enter a parse tree produced by thestringAtom
labeled alternative inOQLParser.atom()
.The default implementation does nothing.
- Specified by:
enterStringAtom
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
exitStringAtom
public void exitStringAtom(OQLParser.StringAtomContext ctx)
Exit a parse tree produced by thestringAtom
labeled alternative inOQLParser.atom()
.The default implementation does nothing.
- Specified by:
exitStringAtom
in interfaceOQLListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-