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:
enterInterpolationin 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:
exitInterpolationin 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:
enterTextFragin 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:
exitTextFragin 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:
enterExpressionin 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:
exitExpressionin 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:
enterOptionListin 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:
exitOptionListin 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:
enterOptionin 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:
exitOptionin 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:
enterExprNodein 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:
exitExprNodein 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:
enterOrBinaryOpin 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:
exitOrBinaryOpin 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:
enterAndBinaryOpin 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:
exitAndBinaryOpin 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:
enterInBinaryOpin 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:
exitInBinaryOpin 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:
enterComparisonTermin 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:
exitComparisonTermin 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:
enterComparisonOpin 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:
exitComparisonOpin 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:
enterFactorin 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:
exitFactorin 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:
enterTermin 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:
exitTermin 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:
enterFieldin 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:
exitFieldin 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:
enterSimplein 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:
exitSimplein 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:
enterValueListin 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:
exitValueListin 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:
enterAtomin 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:
exitAtomin 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:
enterStringConstin 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:
exitStringConstin interfaceSightlyParserListener- 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
-
-