Module parser
docugen
A DocumentTemplate consists of a list of Partials.
DocumentTemplate
Partial
A Partial is either a StringLiteral or a Tag.
StringLiteral
Tag
A StringLiteral parser combinator is responsible for parsing the following fragment:
The tag parser combinator is responsible for parsing a Tag(identifier) which is delimited between {{ tag_id }}.
tag
Tag(identifier)
{{ tag_id }}