ViewCompiler class
Compiles a single component to a set of CompileView(s) and generates top level statements to support debugging and view factories.
- Creates main CompileView
- Runs ViewBuilderVisitor over template ast nodes
- For each embedded template creates a child CompileView and recurses.
- Builds a tree of CompileNode/Element(s)
Constructors
- ViewCompiler(CompilerFlags _genConfig, ExpressionParser parser, ElementSchemaRegistry _schemaRegistry)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- parser ↔ ExpressionParser
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compileComponent(
View view, Expression styles, {required bool registerComponentFactory}) → ViewCompileResult -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited