SynthesisResult class abstract
An object representing the output of a Synthesizer
- Annotations
Constructors
- SynthesisResult(Module module, String getInstanceTypeOfModule(Module module))
-
Represents a constant computed synthesis result for module given
the provided type mapping in getInstanceTypeOfModule.
const
Properties
- getInstanceTypeOfModule → String Function(Module module)
-
A Map from Module instances to synthesis instance type names.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- instanceTypeName → String
-
The name of the definition type for this module instance.
no setter
- matchHashCode → int
-
Like the hashCode for matchesImplementation as an equality check.
no setter
- module → Module
-
The top level Module associated with this result.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportingModules
→ List<
Module> ? -
If provided, a List of additional
Module
s that should be included in the generated results.no setter
Methods
-
matchesImplementation(
SynthesisResult other) → bool - Whether two implementations are identical or not
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFileContents(
) → String - Generates what could go into a file
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override