Class SightlyParserBaseListener
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.parser.expr.generated.SightlyParserBaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,SightlyParserListener
public class SightlyParserBaseListener extends Object implements SightlyParserListener
This class provides an empty implementation ofSightlyParserListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SightlyParserBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterInterpolation
public void enterInterpolation(SightlyParser.InterpolationContext ctx)
Enter a parse tree produced bySightlyParser.interpolation()
.The default implementation does nothing.
- Specified by:
enterInterpolation
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitInterpolation
public void exitInterpolation(SightlyParser.InterpolationContext ctx)
Exit a parse tree produced bySightlyParser.interpolation()
.The default implementation does nothing.
- Specified by:
exitInterpolation
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterTextFrag
public void enterTextFrag(SightlyParser.TextFragContext ctx)
Enter a parse tree produced bySightlyParser.textFrag()
.The default implementation does nothing.
- Specified by:
enterTextFrag
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitTextFrag
public void exitTextFrag(SightlyParser.TextFragContext ctx)
Exit a parse tree produced bySightlyParser.textFrag()
.The default implementation does nothing.
- Specified by:
exitTextFrag
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterExpression
public void enterExpression(SightlyParser.ExpressionContext ctx)
Enter a parse tree produced bySightlyParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpression
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitExpression
public void exitExpression(SightlyParser.ExpressionContext ctx)
Exit a parse tree produced bySightlyParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpression
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterOptionList
public void enterOptionList(SightlyParser.OptionListContext ctx)
Enter a parse tree produced bySightlyParser.optionList()
.The default implementation does nothing.
- Specified by:
enterOptionList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitOptionList
public void exitOptionList(SightlyParser.OptionListContext ctx)
Exit a parse tree produced bySightlyParser.optionList()
.The default implementation does nothing.
- Specified by:
exitOptionList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterOption
public void enterOption(SightlyParser.OptionContext ctx)
Enter a parse tree produced bySightlyParser.option()
.The default implementation does nothing.
- Specified by:
enterOption
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitOption
public void exitOption(SightlyParser.OptionContext ctx)
Exit a parse tree produced bySightlyParser.option()
.The default implementation does nothing.
- Specified by:
exitOption
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterExprNode
public void enterExprNode(SightlyParser.ExprNodeContext ctx)
Enter a parse tree produced bySightlyParser.exprNode()
.The default implementation does nothing.
- Specified by:
enterExprNode
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitExprNode
public void exitExprNode(SightlyParser.ExprNodeContext ctx)
Exit a parse tree produced bySightlyParser.exprNode()
.The default implementation does nothing.
- Specified by:
exitExprNode
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterOrBinaryOp
public void enterOrBinaryOp(SightlyParser.OrBinaryOpContext ctx)
Enter a parse tree produced bySightlyParser.orBinaryOp()
.The default implementation does nothing.
- Specified by:
enterOrBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitOrBinaryOp
public void exitOrBinaryOp(SightlyParser.OrBinaryOpContext ctx)
Exit a parse tree produced bySightlyParser.orBinaryOp()
.The default implementation does nothing.
- Specified by:
exitOrBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterAndBinaryOp
public void enterAndBinaryOp(SightlyParser.AndBinaryOpContext ctx)
Enter a parse tree produced bySightlyParser.andBinaryOp()
.The default implementation does nothing.
- Specified by:
enterAndBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitAndBinaryOp
public void exitAndBinaryOp(SightlyParser.AndBinaryOpContext ctx)
Exit a parse tree produced bySightlyParser.andBinaryOp()
.The default implementation does nothing.
- Specified by:
exitAndBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterInBinaryOp
public void enterInBinaryOp(SightlyParser.InBinaryOpContext ctx)
Enter a parse tree produced bySightlyParser.inBinaryOp()
.The default implementation does nothing.
- Specified by:
enterInBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitInBinaryOp
public void exitInBinaryOp(SightlyParser.InBinaryOpContext ctx)
Exit a parse tree produced bySightlyParser.inBinaryOp()
.The default implementation does nothing.
- Specified by:
exitInBinaryOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterComparisonTerm
public void enterComparisonTerm(SightlyParser.ComparisonTermContext ctx)
Enter a parse tree produced bySightlyParser.comparisonTerm()
.The default implementation does nothing.
- Specified by:
enterComparisonTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitComparisonTerm
public void exitComparisonTerm(SightlyParser.ComparisonTermContext ctx)
Exit a parse tree produced bySightlyParser.comparisonTerm()
.The default implementation does nothing.
- Specified by:
exitComparisonTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterComparisonOp
public void enterComparisonOp(SightlyParser.ComparisonOpContext ctx)
Enter a parse tree produced bySightlyParser.comparisonOp()
.The default implementation does nothing.
- Specified by:
enterComparisonOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitComparisonOp
public void exitComparisonOp(SightlyParser.ComparisonOpContext ctx)
Exit a parse tree produced bySightlyParser.comparisonOp()
.The default implementation does nothing.
- Specified by:
exitComparisonOp
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterFactor
public void enterFactor(SightlyParser.FactorContext ctx)
Enter a parse tree produced bySightlyParser.factor()
.The default implementation does nothing.
- Specified by:
enterFactor
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitFactor
public void exitFactor(SightlyParser.FactorContext ctx)
Exit a parse tree produced bySightlyParser.factor()
.The default implementation does nothing.
- Specified by:
exitFactor
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterTerm
public void enterTerm(SightlyParser.TermContext ctx)
Enter a parse tree produced bySightlyParser.term()
.The default implementation does nothing.
- Specified by:
enterTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitTerm
public void exitTerm(SightlyParser.TermContext ctx)
Exit a parse tree produced bySightlyParser.term()
.The default implementation does nothing.
- Specified by:
exitTerm
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterField
public void enterField(SightlyParser.FieldContext ctx)
Enter a parse tree produced bySightlyParser.field()
.The default implementation does nothing.
- Specified by:
enterField
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitField
public void exitField(SightlyParser.FieldContext ctx)
Exit a parse tree produced bySightlyParser.field()
.The default implementation does nothing.
- Specified by:
exitField
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterSimple
public void enterSimple(SightlyParser.SimpleContext ctx)
Enter a parse tree produced bySightlyParser.simple()
.The default implementation does nothing.
- Specified by:
enterSimple
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitSimple
public void exitSimple(SightlyParser.SimpleContext ctx)
Exit a parse tree produced bySightlyParser.simple()
.The default implementation does nothing.
- Specified by:
exitSimple
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterValueList
public void enterValueList(SightlyParser.ValueListContext ctx)
Enter a parse tree produced bySightlyParser.valueList()
.The default implementation does nothing.
- Specified by:
enterValueList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitValueList
public void exitValueList(SightlyParser.ValueListContext ctx)
Exit a parse tree produced bySightlyParser.valueList()
.The default implementation does nothing.
- Specified by:
exitValueList
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterAtom
public void enterAtom(SightlyParser.AtomContext ctx)
Enter a parse tree produced bySightlyParser.atom()
.The default implementation does nothing.
- Specified by:
enterAtom
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitAtom
public void exitAtom(SightlyParser.AtomContext ctx)
Exit a parse tree produced bySightlyParser.atom()
.The default implementation does nothing.
- Specified by:
exitAtom
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
enterStringConst
public void enterStringConst(SightlyParser.StringConstContext ctx)
Enter a parse tree produced bySightlyParser.stringConst()
.The default implementation does nothing.
- Specified by:
enterStringConst
in interfaceSightlyParserListener
- Parameters:
ctx
- the parse tree
-
exitStringConst
public void exitStringConst(SightlyParser.StringConstContext ctx)
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
-
-