Represents a placeholder block element that needs to be resolved in a rewrite step.
Represents a reference to a value from the context of the current document.
The root element of a document tree (originating from text markup) inside a template.
A context reference specifically for use in markup documents.
Represents a placeholder inline element that needs to be resolved in a rewrite step.
A context reference specifically for use in template documents.
A template document containing the element tree of a parsed template and its extracted configuration section (if present).
Wraps a generic element that otherwise could not be placed directly into a template document tree.
The root element of a template document tree.
The base type for all inline elements that can be found in a template.
A generic container element containing a list of template spans.
A simple string element, representing the parts of a template that are not detected as special markup constructs and treated as raw text.
The default rewrite rules for template documents, responsible for replacing all span and block resolvers with the final resolved element they produce based on the specified document context.
Provides the elements of the document tree which are specific to templates.
In contrast to document trees built from text markup, these elements do not make a distinction between block and inline elements. Therefore all template elements mix in the
TemplateSpan
trait which extendsSpan
, making it an inline element.The abstract base classes are not sealed as the tree model is extensible. Renderers should anticipate unknown elements and add fallback rules for those.