Class RockerParserBaseListener
- java.lang.Object
-
- com.fizzed.rocker.antlr4.RockerParserBaseListener
-
- All Implemented Interfaces:
RockerParserListener,org.antlr.v4.runtime.tree.ParseTreeListener
- Direct Known Subclasses:
TemplateParser.TemplateParserListener
public class RockerParserBaseListener extends java.lang.Object implements RockerParserListener
This class provides an empty implementation ofRockerParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description RockerParserBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterTemplate
public void enterTemplate(RockerParser.TemplateContext ctx)
Enter a parse tree produced byRockerParser.template().The default implementation does nothing.
- Specified by:
enterTemplatein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitTemplate
public void exitTemplate(RockerParser.TemplateContext ctx)
Exit a parse tree produced byRockerParser.template().The default implementation does nothing.
- Specified by:
exitTemplatein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterPlain
public void enterPlain(RockerParser.PlainContext ctx)
Enter a parse tree produced byRockerParser.plain().The default implementation does nothing.
- Specified by:
enterPlainin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitPlain
public void exitPlain(RockerParser.PlainContext ctx)
Exit a parse tree produced byRockerParser.plain().The default implementation does nothing.
- Specified by:
exitPlainin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterPlainBlock
public void enterPlainBlock(RockerParser.PlainBlockContext ctx)
Enter a parse tree produced byRockerParser.plainBlock().The default implementation does nothing.
- Specified by:
enterPlainBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitPlainBlock
public void exitPlainBlock(RockerParser.PlainBlockContext ctx)
Exit a parse tree produced byRockerParser.plainBlock().The default implementation does nothing.
- Specified by:
exitPlainBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterPlainElseIfBlock
public void enterPlainElseIfBlock(RockerParser.PlainElseIfBlockContext ctx)
Enter a parse tree produced byRockerParser.plainElseIfBlock().The default implementation does nothing.
- Specified by:
enterPlainElseIfBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitPlainElseIfBlock
public void exitPlainElseIfBlock(RockerParser.PlainElseIfBlockContext ctx)
Exit a parse tree produced byRockerParser.plainElseIfBlock().The default implementation does nothing.
- Specified by:
exitPlainElseIfBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterPlainElseBlock
public void enterPlainElseBlock(RockerParser.PlainElseBlockContext ctx)
Enter a parse tree produced byRockerParser.plainElseBlock().The default implementation does nothing.
- Specified by:
enterPlainElseBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitPlainElseBlock
public void exitPlainElseBlock(RockerParser.PlainElseBlockContext ctx)
Exit a parse tree produced byRockerParser.plainElseBlock().The default implementation does nothing.
- Specified by:
exitPlainElseBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterComment
public void enterComment(RockerParser.CommentContext ctx)
Enter a parse tree produced byRockerParser.comment().The default implementation does nothing.
- Specified by:
enterCommentin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitComment
public void exitComment(RockerParser.CommentContext ctx)
Exit a parse tree produced byRockerParser.comment().The default implementation does nothing.
- Specified by:
exitCommentin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterImportDeclaration
public void enterImportDeclaration(RockerParser.ImportDeclarationContext ctx)
Enter a parse tree produced byRockerParser.importDeclaration().The default implementation does nothing.
- Specified by:
enterImportDeclarationin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitImportDeclaration
public void exitImportDeclaration(RockerParser.ImportDeclarationContext ctx)
Exit a parse tree produced byRockerParser.importDeclaration().The default implementation does nothing.
- Specified by:
exitImportDeclarationin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterImportStatement
public void enterImportStatement(RockerParser.ImportStatementContext ctx)
Enter a parse tree produced byRockerParser.importStatement().The default implementation does nothing.
- Specified by:
enterImportStatementin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitImportStatement
public void exitImportStatement(RockerParser.ImportStatementContext ctx)
Exit a parse tree produced byRockerParser.importStatement().The default implementation does nothing.
- Specified by:
exitImportStatementin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterOptionDeclaration
public void enterOptionDeclaration(RockerParser.OptionDeclarationContext ctx)
Enter a parse tree produced byRockerParser.optionDeclaration().The default implementation does nothing.
- Specified by:
enterOptionDeclarationin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitOptionDeclaration
public void exitOptionDeclaration(RockerParser.OptionDeclarationContext ctx)
Exit a parse tree produced byRockerParser.optionDeclaration().The default implementation does nothing.
- Specified by:
exitOptionDeclarationin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterOptionStatement
public void enterOptionStatement(RockerParser.OptionStatementContext ctx)
Enter a parse tree produced byRockerParser.optionStatement().The default implementation does nothing.
- Specified by:
enterOptionStatementin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitOptionStatement
public void exitOptionStatement(RockerParser.OptionStatementContext ctx)
Exit a parse tree produced byRockerParser.optionStatement().The default implementation does nothing.
- Specified by:
exitOptionStatementin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterArgumentsDeclaration
public void enterArgumentsDeclaration(RockerParser.ArgumentsDeclarationContext ctx)
Enter a parse tree produced byRockerParser.argumentsDeclaration().The default implementation does nothing.
- Specified by:
enterArgumentsDeclarationin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitArgumentsDeclaration
public void exitArgumentsDeclaration(RockerParser.ArgumentsDeclarationContext ctx)
Exit a parse tree produced byRockerParser.argumentsDeclaration().The default implementation does nothing.
- Specified by:
exitArgumentsDeclarationin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterArgumentsStatement
public void enterArgumentsStatement(RockerParser.ArgumentsStatementContext ctx)
Enter a parse tree produced byRockerParser.argumentsStatement().The default implementation does nothing.
- Specified by:
enterArgumentsStatementin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitArgumentsStatement
public void exitArgumentsStatement(RockerParser.ArgumentsStatementContext ctx)
Exit a parse tree produced byRockerParser.argumentsStatement().The default implementation does nothing.
- Specified by:
exitArgumentsStatementin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterTemplateContent
public void enterTemplateContent(RockerParser.TemplateContentContext ctx)
Enter a parse tree produced byRockerParser.templateContent().The default implementation does nothing.
- Specified by:
enterTemplateContentin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitTemplateContent
public void exitTemplateContent(RockerParser.TemplateContentContext ctx)
Exit a parse tree produced byRockerParser.templateContent().The default implementation does nothing.
- Specified by:
exitTemplateContentin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterBlock
public void enterBlock(RockerParser.BlockContext ctx)
Enter a parse tree produced byRockerParser.block().The default implementation does nothing.
- Specified by:
enterBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitBlock
public void exitBlock(RockerParser.BlockContext ctx)
Exit a parse tree produced byRockerParser.block().The default implementation does nothing.
- Specified by:
exitBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterIfBlock
public void enterIfBlock(RockerParser.IfBlockContext ctx)
Enter a parse tree produced byRockerParser.ifBlock().The default implementation does nothing.
- Specified by:
enterIfBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitIfBlock
public void exitIfBlock(RockerParser.IfBlockContext ctx)
Exit a parse tree produced byRockerParser.ifBlock().The default implementation does nothing.
- Specified by:
exitIfBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterIfElseIfBlock
public void enterIfElseIfBlock(RockerParser.IfElseIfBlockContext ctx)
Enter a parse tree produced byRockerParser.ifElseIfBlock().The default implementation does nothing.
- Specified by:
enterIfElseIfBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitIfElseIfBlock
public void exitIfElseIfBlock(RockerParser.IfElseIfBlockContext ctx)
Exit a parse tree produced byRockerParser.ifElseIfBlock().The default implementation does nothing.
- Specified by:
exitIfElseIfBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterIfElseBlock
public void enterIfElseBlock(RockerParser.IfElseBlockContext ctx)
Enter a parse tree produced byRockerParser.ifElseBlock().The default implementation does nothing.
- Specified by:
enterIfElseBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitIfElseBlock
public void exitIfElseBlock(RockerParser.IfElseBlockContext ctx)
Exit a parse tree produced byRockerParser.ifElseBlock().The default implementation does nothing.
- Specified by:
exitIfElseBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterForBlock
public void enterForBlock(RockerParser.ForBlockContext ctx)
Enter a parse tree produced byRockerParser.forBlock().The default implementation does nothing.
- Specified by:
enterForBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitForBlock
public void exitForBlock(RockerParser.ForBlockContext ctx)
Exit a parse tree produced byRockerParser.forBlock().The default implementation does nothing.
- Specified by:
exitForBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterWithBlock
public void enterWithBlock(RockerParser.WithBlockContext ctx)
Enter a parse tree produced byRockerParser.withBlock().The default implementation does nothing.
- Specified by:
enterWithBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitWithBlock
public void exitWithBlock(RockerParser.WithBlockContext ctx)
Exit a parse tree produced byRockerParser.withBlock().The default implementation does nothing.
- Specified by:
exitWithBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterWithElseBlock
public void enterWithElseBlock(RockerParser.WithElseBlockContext ctx)
Enter a parse tree produced byRockerParser.withElseBlock().The default implementation does nothing.
- Specified by:
enterWithElseBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitWithElseBlock
public void exitWithElseBlock(RockerParser.WithElseBlockContext ctx)
Exit a parse tree produced byRockerParser.withElseBlock().The default implementation does nothing.
- Specified by:
exitWithElseBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterContentClosure
public void enterContentClosure(RockerParser.ContentClosureContext ctx)
Enter a parse tree produced byRockerParser.contentClosure().The default implementation does nothing.
- Specified by:
enterContentClosurein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitContentClosure
public void exitContentClosure(RockerParser.ContentClosureContext ctx)
Exit a parse tree produced byRockerParser.contentClosure().The default implementation does nothing.
- Specified by:
exitContentClosurein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterContentClosureExpression
public void enterContentClosureExpression(RockerParser.ContentClosureExpressionContext ctx)
Enter a parse tree produced byRockerParser.contentClosureExpression().The default implementation does nothing.
- Specified by:
enterContentClosureExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitContentClosureExpression
public void exitContentClosureExpression(RockerParser.ContentClosureExpressionContext ctx)
Exit a parse tree produced byRockerParser.contentClosureExpression().The default implementation does nothing.
- Specified by:
exitContentClosureExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterValueClosure
public void enterValueClosure(RockerParser.ValueClosureContext ctx)
Enter a parse tree produced byRockerParser.valueClosure().The default implementation does nothing.
- Specified by:
enterValueClosurein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitValueClosure
public void exitValueClosure(RockerParser.ValueClosureContext ctx)
Exit a parse tree produced byRockerParser.valueClosure().The default implementation does nothing.
- Specified by:
exitValueClosurein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterValueClosureExpression
public void enterValueClosureExpression(RockerParser.ValueClosureExpressionContext ctx)
Enter a parse tree produced byRockerParser.valueClosureExpression().The default implementation does nothing.
- Specified by:
enterValueClosureExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitValueClosureExpression
public void exitValueClosureExpression(RockerParser.ValueClosureExpressionContext ctx)
Exit a parse tree produced byRockerParser.valueClosureExpression().The default implementation does nothing.
- Specified by:
exitValueClosureExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterValue
public void enterValue(RockerParser.ValueContext ctx)
Enter a parse tree produced byRockerParser.value().The default implementation does nothing.
- Specified by:
enterValuein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitValue
public void exitValue(RockerParser.ValueContext ctx)
Exit a parse tree produced byRockerParser.value().The default implementation does nothing.
- Specified by:
exitValuein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterValueExpression
public void enterValueExpression(RockerParser.ValueExpressionContext ctx)
Enter a parse tree produced byRockerParser.valueExpression().The default implementation does nothing.
- Specified by:
enterValueExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitValueExpression
public void exitValueExpression(RockerParser.ValueExpressionContext ctx)
Exit a parse tree produced byRockerParser.valueExpression().The default implementation does nothing.
- Specified by:
exitValueExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterNullTernary
public void enterNullTernary(RockerParser.NullTernaryContext ctx)
Enter a parse tree produced byRockerParser.nullTernary().The default implementation does nothing.
- Specified by:
enterNullTernaryin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitNullTernary
public void exitNullTernary(RockerParser.NullTernaryContext ctx)
Exit a parse tree produced byRockerParser.nullTernary().The default implementation does nothing.
- Specified by:
exitNullTernaryin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterNullTernaryExpression
public void enterNullTernaryExpression(RockerParser.NullTernaryExpressionContext ctx)
Enter a parse tree produced byRockerParser.nullTernaryExpression().The default implementation does nothing.
- Specified by:
enterNullTernaryExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitNullTernaryExpression
public void exitNullTernaryExpression(RockerParser.NullTernaryExpressionContext ctx)
Exit a parse tree produced byRockerParser.nullTernaryExpression().The default implementation does nothing.
- Specified by:
exitNullTernaryExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterEval
public void enterEval(RockerParser.EvalContext ctx)
Enter a parse tree produced byRockerParser.eval().The default implementation does nothing.
- Specified by:
enterEvalin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitEval
public void exitEval(RockerParser.EvalContext ctx)
Exit a parse tree produced byRockerParser.eval().The default implementation does nothing.
- Specified by:
exitEvalin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterEvalExpression
public void enterEvalExpression(RockerParser.EvalExpressionContext ctx)
Enter a parse tree produced byRockerParser.evalExpression().The default implementation does nothing.
- Specified by:
enterEvalExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitEvalExpression
public void exitEvalExpression(RockerParser.EvalExpressionContext ctx)
Exit a parse tree produced byRockerParser.evalExpression().The default implementation does nothing.
- Specified by:
exitEvalExpressionin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterSwitchBlock
public void enterSwitchBlock(RockerParser.SwitchBlockContext ctx)
Enter a parse tree produced byRockerParser.switchBlock().The default implementation does nothing.
- Specified by:
enterSwitchBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitSwitchBlock
public void exitSwitchBlock(RockerParser.SwitchBlockContext ctx)
Exit a parse tree produced byRockerParser.switchBlock().The default implementation does nothing.
- Specified by:
exitSwitchBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterSwitchCase
public void enterSwitchCase(RockerParser.SwitchCaseContext ctx)
Enter a parse tree produced byRockerParser.switchCase().The default implementation does nothing.
- Specified by:
enterSwitchCasein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitSwitchCase
public void exitSwitchCase(RockerParser.SwitchCaseContext ctx)
Exit a parse tree produced byRockerParser.switchCase().The default implementation does nothing.
- Specified by:
exitSwitchCasein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterSwitchDefault
public void enterSwitchDefault(RockerParser.SwitchDefaultContext ctx)
Enter a parse tree produced byRockerParser.switchDefault().The default implementation does nothing.
- Specified by:
enterSwitchDefaultin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitSwitchDefault
public void exitSwitchDefault(RockerParser.SwitchDefaultContext ctx)
Exit a parse tree produced byRockerParser.switchDefault().The default implementation does nothing.
- Specified by:
exitSwitchDefaultin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterSwitchExpressionBlock
public void enterSwitchExpressionBlock(RockerParser.SwitchExpressionBlockContext ctx)
Enter a parse tree produced byRockerParser.switchExpressionBlock().The default implementation does nothing.
- Specified by:
enterSwitchExpressionBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitSwitchExpressionBlock
public void exitSwitchExpressionBlock(RockerParser.SwitchExpressionBlockContext ctx)
Exit a parse tree produced byRockerParser.switchExpressionBlock().The default implementation does nothing.
- Specified by:
exitSwitchExpressionBlockin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterSwitchExpressionCase
public void enterSwitchExpressionCase(RockerParser.SwitchExpressionCaseContext ctx)
Enter a parse tree produced byRockerParser.switchExpressionCase().The default implementation does nothing.
- Specified by:
enterSwitchExpressionCasein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitSwitchExpressionCase
public void exitSwitchExpressionCase(RockerParser.SwitchExpressionCaseContext ctx)
Exit a parse tree produced byRockerParser.switchExpressionCase().The default implementation does nothing.
- Specified by:
exitSwitchExpressionCasein interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
enterSwitchExpressionDefault
public void enterSwitchExpressionDefault(RockerParser.SwitchExpressionDefaultContext ctx)
Enter a parse tree produced byRockerParser.switchExpressionDefault().The default implementation does nothing.
- Specified by:
enterSwitchExpressionDefaultin interfaceRockerParserListener- Parameters:
ctx- the parse tree
-
exitSwitchExpressionDefault
public void exitSwitchExpressionDefault(RockerParser.SwitchExpressionDefaultContext ctx)
Exit a parse tree produced byRockerParser.switchExpressionDefault().The default implementation does nothing.
- Specified by:
exitSwitchExpressionDefaultin interfaceRockerParserListener- 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
-
-