Encapsulates a full Diet template document.
Represents a single node in the DOM tree.
Flags that control parser or generator behavior.
Converts an array of attribute contents to node contents.
A single node attribute.
A single piece of an attribute value.
Represents the location of an entity within the source file.
A single piece of node content.
Types to represent the DOM tree.
The DOM tree is used as an intermediate representation between the parser and the generator. Filters and other kinds of transformations can be executed on the DOM tree. The generator itself will apply filters and other traits using diet.traits.applyTraits.