CompileQuery class abstract
Compiles @{Content|View}Child[ren]
to template IR.
Constructors
- CompileQuery({required CompileQueryMetadata metadata, required ViewStorage storage, required CompileView queryRoot, required ProviderSource? boundDirective, required int? nodeIndex, required int queryIndex})
-
factory
- CompileQuery.viewQuery({required CompileQueryMetadata metadata, required ViewStorage storage, required CompileView queryRoot, required ProviderSource boundDirective, required int queryIndex})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → CompileQueryMetadata
-
Extracted metadata information from the user-code.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addQueryResult(
CompileView origin, Expression result, Expression? changeDetectorRef) → void -
Adds an expression
result
that originates from anorigin
view. -
createDynamicUpdates(
) → List< Statement> - Return code that will set the query contents at change-detection time.
-
createImmediateUpdates(
) → List< Statement> - Return code that will immediately set the query contents at build-time.
-
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