Class SightlyParserBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,SightlyParserListener
SightlyParserListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced bySightlyParser.andBinaryOp()
.void
Enter a parse tree produced bySightlyParser.atom()
.void
Enter a parse tree produced bySightlyParser.comparisonOp()
.void
Enter a parse tree produced bySightlyParser.comparisonTerm()
.void
enterEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Enter a parse tree produced bySightlyParser.expression()
.void
Enter a parse tree produced bySightlyParser.exprNode()
.void
Enter a parse tree produced bySightlyParser.factor()
.void
Enter a parse tree produced bySightlyParser.field()
.void
Enter a parse tree produced bySightlyParser.inBinaryOp()
.void
Enter a parse tree produced bySightlyParser.interpolation()
.void
Enter a parse tree produced bySightlyParser.option()
.void
Enter a parse tree produced bySightlyParser.optionList()
.void
Enter a parse tree produced bySightlyParser.orBinaryOp()
.void
Enter a parse tree produced bySightlyParser.simple()
.void
Enter a parse tree produced bySightlyParser.stringConst()
.void
Enter a parse tree produced bySightlyParser.term()
.void
Enter a parse tree produced bySightlyParser.textFrag()
.void
Enter a parse tree produced bySightlyParser.valueList()
.void
Exit a parse tree produced bySightlyParser.andBinaryOp()
.void
Exit a parse tree produced bySightlyParser.atom()
.void
Exit a parse tree produced bySightlyParser.comparisonOp()
.void
Exit a parse tree produced bySightlyParser.comparisonTerm()
.void
exitEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Exit a parse tree produced bySightlyParser.expression()
.void
Exit a parse tree produced bySightlyParser.exprNode()
.void
Exit a parse tree produced bySightlyParser.factor()
.void
Exit a parse tree produced bySightlyParser.field()
.void
Exit a parse tree produced bySightlyParser.inBinaryOp()
.void
Exit a parse tree produced bySightlyParser.interpolation()
.void
Exit a parse tree produced bySightlyParser.option()
.void
Exit a parse tree produced bySightlyParser.optionList()
.void
Exit a parse tree produced bySightlyParser.orBinaryOp()
.void
Exit a parse tree produced bySightlyParser.simple()
.void
Exit a parse tree produced bySightlyParser.stringConst()
.void
Exit a parse tree produced bySightlyParser.term()
.void
Exit a parse tree produced bySightlyParser.textFrag()
.void
Exit a parse tree produced bySightlyParser.valueList()
.void
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode node) void
visitTerminal
(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
SightlyParserBaseListener
public SightlyParserBaseListener()
-
-
Method Details
-
enterInterpolation
Enter a parse tree produced bySightlyParser.interpolation()
.The default implementation does nothing.
- Specified by:
enterInterpolation
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitInterpolation
Exit a parse tree produced bySightlyParser.interpolation()
.The default implementation does nothing.
- Specified by:
exitInterpolation
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterTextFrag
Enter a parse tree produced bySightlyParser.textFrag()
.The default implementation does nothing.
- Specified by:
enterTextFrag
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitTextFrag
Exit a parse tree produced bySightlyParser.textFrag()
.The default implementation does nothing.
- Specified by:
exitTextFrag
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterExpression
Enter a parse tree produced bySightlyParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpression
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitExpression
Exit a parse tree produced bySightlyParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpression
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterOptionList
Enter a parse tree produced bySightlyParser.optionList()
.The default implementation does nothing.
- Specified by:
enterOptionList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitOptionList
Exit a parse tree produced bySightlyParser.optionList()
.The default implementation does nothing.
- Specified by:
exitOptionList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterOption
Enter a parse tree produced bySightlyParser.option()
.The default implementation does nothing.
- Specified by:
enterOption
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitOption
Exit a parse tree produced bySightlyParser.option()
.The default implementation does nothing.
- Specified by:
exitOption
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterExprNode
Enter a parse tree produced bySightlyParser.exprNode()
.The default implementation does nothing.
- Specified by:
enterExprNode
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitExprNode
Exit a parse tree produced bySightlyParser.exprNode()
.The default implementation does nothing.
- Specified by:
exitExprNode
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterOrBinaryOp
Enter a parse tree produced bySightlyParser.orBinaryOp()
.The default implementation does nothing.
- Specified by:
enterOrBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitOrBinaryOp
Exit a parse tree produced bySightlyParser.orBinaryOp()
.The default implementation does nothing.
- Specified by:
exitOrBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterAndBinaryOp
Enter a parse tree produced bySightlyParser.andBinaryOp()
.The default implementation does nothing.
- Specified by:
enterAndBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitAndBinaryOp
Exit a parse tree produced bySightlyParser.andBinaryOp()
.The default implementation does nothing.
- Specified by:
exitAndBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterInBinaryOp
Enter a parse tree produced bySightlyParser.inBinaryOp()
.The default implementation does nothing.
- Specified by:
enterInBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitInBinaryOp
Exit a parse tree produced bySightlyParser.inBinaryOp()
.The default implementation does nothing.
- Specified by:
exitInBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterComparisonTerm
Enter a parse tree produced bySightlyParser.comparisonTerm()
.The default implementation does nothing.
- Specified by:
enterComparisonTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitComparisonTerm
Exit a parse tree produced bySightlyParser.comparisonTerm()
.The default implementation does nothing.
- Specified by:
exitComparisonTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterComparisonOp
Enter a parse tree produced bySightlyParser.comparisonOp()
.The default implementation does nothing.
- Specified by:
enterComparisonOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitComparisonOp
Exit a parse tree produced bySightlyParser.comparisonOp()
.The default implementation does nothing.
- Specified by:
exitComparisonOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterFactor
Enter a parse tree produced bySightlyParser.factor()
.The default implementation does nothing.
- Specified by:
enterFactor
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitFactor
Exit a parse tree produced bySightlyParser.factor()
.The default implementation does nothing.
- Specified by:
exitFactor
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterTerm
Enter a parse tree produced bySightlyParser.term()
.The default implementation does nothing.
- Specified by:
enterTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitTerm
Exit a parse tree produced bySightlyParser.term()
.The default implementation does nothing.
- Specified by:
exitTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterField
Enter a parse tree produced bySightlyParser.field()
.The default implementation does nothing.
- Specified by:
enterField
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitField
Exit a parse tree produced bySightlyParser.field()
.The default implementation does nothing.
- Specified by:
exitField
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterSimple
Enter a parse tree produced bySightlyParser.simple()
.The default implementation does nothing.
- Specified by:
enterSimple
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitSimple
Exit a parse tree produced bySightlyParser.simple()
.The default implementation does nothing.
- Specified by:
exitSimple
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterValueList
Enter a parse tree produced bySightlyParser.valueList()
.The default implementation does nothing.
- Specified by:
enterValueList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitValueList
Exit a parse tree produced bySightlyParser.valueList()
.The default implementation does nothing.
- Specified by:
exitValueList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterAtom
Enter a parse tree produced bySightlyParser.atom()
.The default implementation does nothing.
- Specified by:
enterAtom
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitAtom
Exit a parse tree produced bySightlyParser.atom()
.The default implementation does nothing.
- Specified by:
exitAtom
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterStringConst
Enter a parse tree produced bySightlyParser.stringConst()
.The default implementation does nothing.
- Specified by:
enterStringConst
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitStringConst
Exit a parse tree produced bySightlyParser.stringConst()
.The default implementation does nothing.
- Specified by:
exitStringConst
in interfaceSightlyParserListener
- 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
-