@Internal public interface ParsingHandler
Modifier and Type | Method and Description |
---|---|
void |
endTemplate()
Parsing ended.
|
Mustache |
getCompiledTemplate() |
void |
lineSeparator(String separator)
Flush a line separator.
|
void |
startTemplate(String name,
org.trimou.engine.parser.Delimiters delimiters,
MustacheEngine engine)
Parsing started.
|
void |
tag(org.trimou.engine.parser.ParsedTag tag)
Flush a tag.
|
void |
text(String text)
Flush a text segment.
|
void startTemplate(String name, org.trimou.engine.parser.Delimiters delimiters, MustacheEngine engine)
name
- delimiters
- void text(String text)
text
- void tag(org.trimou.engine.parser.ParsedTag tag)
tag
- void lineSeparator(String separator)
separator
- void endTemplate()
Mustache getCompiledTemplate()
MustacheException
- If not finished yetCopyright © 2017. All rights reserved.