TemplateParseResult class

The result of parsing a single Template

Inheritance

Constructors

TemplateParseResult.new({required Template template, required List<Object> children, List<ParseError> errors = const []})

Properties

children List<Object>
The children that where parsed and can be rendered to a String. The children are of type RenderType
finalinherited
errorMessage String
no setter
errors List<ParseError>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
template Template
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
position(dynamic child) String
inherited
render(RenderContext context) Future<IntermediateRenderResult>
inherited
renderNode(RenderContext context, Object node) Future
returns either an:
inherited
resultErrors(dynamic result) Iterable<TemplateError>
inherited
resultToString(dynamic result) String
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited