ParserTree<T> class
The ParserTree contains parsed nodes from a Template that can be rendered to a IntermediateRenderResult.
- Inheritance
-
- Object
- Renderer<
IntermediateRenderResult> - ParserTree
- Implementers
Constructors
-
ParserTree.new([List<
T> children = const []])
Properties
-
children
→ List<
T> -
The children that where parsed and can be rendered to a String.
The children are of type RenderType
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
position(
dynamic child) → String -
render(
RenderContext context) → Future< IntermediateRenderResult> -
override
-
renderNode(
RenderContext context, T node) → Future - returns either an:
-
resultErrors(
dynamic result) → Iterable< TemplateError> -
resultToString(
dynamic result) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited