WASIComponentCanonicalBindingPlan class final

Prepared canonical binding report for a decoded component.

Properties

canBind bool
Whether bind can build a canonical program without throwing.
no setter
canonicalDefinitions List<WasmComponentCanonicalDefinition>
Canonical definitions captured when the plan was prepared.
final
hashCode int
The hash code for this object.
no setterinherited
requiresAdapterOperations bool
Whether this plan needs executable lift/lower adapter operations.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeDefinitions List<WasmComponentTypeDefinition>
Component type definitions captured for memory-backed canonical values.
final
typeScope WasmComponentTypeScope?
Definition-local type scopes retained for imported aliases.
final
unsupportedDefinitions List<WASIComponentCanonicalHostUnsupportedDefinition>
Unsupported canonical definitions that this host cannot bind.
final
validationErrors List<WasmComponentValidationError>
Component validation errors that must be fixed before binding.
final

Methods

bind() WASIComponentCanonicalProgram
Builds the canonical program after validation and capability preflight.
bindWithAdapterOperations(Iterable<WASIComponentCanonicalAdapterOperation> adapterOperations, {WASIComponentResourceBindingSet<Object>? resourceBindingSet}) WASIComponentCanonicalProgram
Builds the canonical program with executable lift/lower adapters.
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