public class MustacheSpec extends HbsParserBaseListener
| Modifier and Type | Field and Description |
|---|---|
protected StringBuilder |
line
Track the current line.
|
| Constructor and Description |
|---|
MustacheSpec() |
enterBlockParams, enterBody, enterBoolParam, enterCharParam, enterDynamicPath, enterElseBlock, enterElseStmt, enterElseStmtChain, enterEscape, enterEveryRule, enterHash, enterIntParam, enterLiteralPath, enterPartial, enterPartialBlock, enterRawBlock, enterRefParam, enterSexpr, enterStatement, enterStaticPath, enterStringParam, enterSubParamExpr, enterTemplate, exitAmpvar, exitBlockParams, exitBody, exitBoolParam, exitCharParam, exitComment, exitDelimiters, exitDynamicPath, exitElseBlock, exitElseStmt, exitElseStmtChain, exitEscape, exitEveryRule, exitHash, exitIntParam, exitLiteralPath, exitNewline, exitPartialBlock, exitRawBlock, exitRefParam, exitSexpr, exitSpaces, exitStatement, exitStaticPath, exitStringParam, exitSubParamExpr, exitText, exitTvar, exitVar, visitErrorNode, visitTerminalprotected StringBuilder line
public void enterSpaces(HbsParser.SpacesContext ctx)
HbsParserBaseListenerHbsParser.spaces().
The default implementation does nothing.
enterSpaces in interface HbsParserListenerenterSpaces in class HbsParserBaseListenerctx - the parse treepublic void enterNewline(HbsParser.NewlineContext ctx)
HbsParserBaseListenerHbsParser.newline().
The default implementation does nothing.
enterNewline in interface HbsParserListenerenterNewline in class HbsParserBaseListenerctx - the parse treepublic void exitTemplate(HbsParser.TemplateContext ctx)
HbsParserBaseListenerHbsParser.template().
The default implementation does nothing.
exitTemplate in interface HbsParserListenerexitTemplate in class HbsParserBaseListenerctx - the parse treepublic void enterText(HbsParser.TextContext ctx)
HbsParserBaseListenerHbsParser.text().
The default implementation does nothing.
enterText in interface HbsParserListenerenterText in class HbsParserBaseListenerctx - the parse treepublic void enterBlock(HbsParser.BlockContext ctx)
HbsParserBaseListenerHbsParser.block().
The default implementation does nothing.
enterBlock in interface HbsParserListenerenterBlock in class HbsParserBaseListenerctx - the parse treepublic void exitBlock(HbsParser.BlockContext ctx)
HbsParserBaseListenerHbsParser.block().
The default implementation does nothing.
exitBlock in interface HbsParserListenerexitBlock in class HbsParserBaseListenerctx - the parse treepublic void enterComment(HbsParser.CommentContext ctx)
HbsParserBaseListenerHbsParser.comment().
The default implementation does nothing.
enterComment in interface HbsParserListenerenterComment in class HbsParserBaseListenerctx - the parse treepublic void exitPartial(HbsParser.PartialContext ctx)
HbsParserBaseListenerHbsParser.partial().
The default implementation does nothing.
exitPartial in interface HbsParserListenerexitPartial in class HbsParserBaseListenerctx - the parse treepublic void enterDelimiters(HbsParser.DelimitersContext ctx)
HbsParserBaseListenerHbsParser.delimiters().
The default implementation does nothing.
enterDelimiters in interface HbsParserListenerenterDelimiters in class HbsParserBaseListenerctx - the parse treepublic void enterUnless(HbsParser.UnlessContext ctx)
HbsParserBaseListenerHbsParser.unless().
The default implementation does nothing.
enterUnless in interface HbsParserListenerenterUnless in class HbsParserBaseListenerctx - the parse treepublic void exitUnless(HbsParser.UnlessContext ctx)
HbsParserBaseListenerHbsParser.unless().
The default implementation does nothing.
exitUnless in interface HbsParserListenerexitUnless in class HbsParserBaseListenerctx - the parse treepublic void enterAmpvar(HbsParser.AmpvarContext ctx)
HbsParserBaseListenerHbsParser.ampvar().
The default implementation does nothing.
enterAmpvar in interface HbsParserListenerenterAmpvar in class HbsParserBaseListenerctx - the parse treepublic void enterTvar(HbsParser.TvarContext ctx)
HbsParserBaseListenerHbsParser.tvar().
The default implementation does nothing.
enterTvar in interface HbsParserListenerenterTvar in class HbsParserBaseListenerctx - the parse treepublic void enterVar(HbsParser.VarContext ctx)
HbsParserBaseListenerHbsParser.var().
The default implementation does nothing.
enterVar in interface HbsParserListenerenterVar in class HbsParserBaseListenerctx - the parse treeCopyright © 2016. All rights reserved.