Package com.github.mustachejava
Interface MustacheVisitor
- All Known Implementing Classes:
CapturingMustacheVisitor,DefaultMustacheVisitor,SpecMustacheVisitor
public interface MustacheVisitor
Callbacks from the parser as a mustache template is parsed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckName(TemplateContext templateContext, String variable, Mustache mustache) voidcomment(TemplateContext templateContext, String comment) voideof(TemplateContext templateContext) voidextend(TemplateContext templateContext, String variable, Mustache mustache) voiditerable(TemplateContext templateContext, String variable, Mustache mustache) mustache(TemplateContext templateContext) voidname(TemplateContext templateContext, String variable, Mustache mustache) voidnotIterable(TemplateContext templateContext, String variable, Mustache mustache) voidpartial(TemplateContext templateContext, String variable, String indent) voidpragma(TemplateContext templateContext, String pragma, String args) voidvalue(TemplateContext templateContext, String variable, boolean encoded) voidwrite(TemplateContext templateContext, String text)
-
Method Details
-
mustache
-
iterable
-
notIterable
-
partial
-
value
-
write
-
pragma
-
eof
-
extend
-
name
-
checkName
-
comment
-