SynthesisResult class abstract

An object representing the output of a Synthesizer

Annotations

Constructors

SynthesisResult(Module module, Map<Module, String> moduleToInstanceTypeMap)
Represents a constant computed synthesis result for module given the provided type mapping in moduleToInstanceTypeMap.
const

Properties

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
moduleToInstanceTypeMap Map<Module, String>
A Map from Module instances to synthesis instance type names.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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