Variant class
A type that can be one of several different Case.
- Inheritance
-
- Object
- ValType
- DespecializedValType
- Variant
Constructors
-
Variant.new(List<
Case> cases) -
A type that can be one of several different Case.
const
Properties
Methods
-
alignment(
) → int -
The alignment in bytes of a value of this type in the wasm stack
inherited
-
despecialized(
) → DespecializedValType -
The despecialized representation of this type
inherited
-
flatTypes(
) → List< FlatType> -
The wasm core flat types representation of this type
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
size(
) → int -
The size in bytes of a value of this type in the wasm stack
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited