SynthBuilder class

A generic class which can convert a module into a generated output using a Synthesizer.

Constructors

SynthBuilder(Module top, Synthesizer synthesizer)
Constructs a SynthBuilder based on the top module and using synthesizer for generating outputs.
SynthBuilder.multi(List<Module> tops, Synthesizer synthesizer)
Constructs a SynthBuilder based on the provided tops modules and using synthesizer for generating outputs.

Properties

hashCode → int
The hash code for this object.
no setterinherited
moduleInstanceTypes → Map<Module, String>
Maps each source Module occurrence to its generated implementation name.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
synthesisResults → Set<SynthesisResult>
All the SynthesisResults generated by this SynthBuilder.
no setter
synthesizer → Synthesizer
The Synthesizer to use for generating an output.
final
tops → List<Module>
The top-level Modules to be synthesized.
final

Methods

getSynthFileContents() → List<SynthFileContents>
Collects a List of SynthFileContentss representing file contents generated by the synthesizer.
instanceTypeOf(Module module) → String?
Returns the generated implementation name for module, if it emits a definition.
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