DevCompilerBuilder class

A builder which can output ddc modules!

Constructors

DevCompilerBuilder({bool useIncrementalCompiler = true, bool generateFullDill = false, bool emitDebugSymbols = false, bool canaryFeatures = false, bool ddcLibraryBundle = true, bool trackUnusedInputs = false, required DartPlatform platform, String? sdkKernelPath, String? librariesPath, String? platformSdk, Map<String, String> environment = const {}})

Properties

buildExtensions → Map<String, List<String>>
Mapping from input file extension to output file extensions.
final
canaryFeatures → bool
Enables canary features in DDC.
final
ddcLibraryBundle → bool
Emits code with the DDC Library Bundle module system.
final
emitDebugSymbols → bool
Whether to generate debug symbols file outputs for each module.
final
environment → Map<String, String>
Environment defines to pass to ddc (as -D variables).
final
generateFullDill → bool
Whether to generate full dill file outputs for each module.
final
hashCode → int
The hash code for this object.
no setterinherited
librariesPath → String
The absolute path to the libraries file for the current platform.
final
platform → DartPlatform
final
platformSdk → String
The root directory of the platform's dart SDK.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdkKernelPath → String
The sdk kernel file for the current platform.
final
trackUnusedInputs → bool
final
useIncrementalCompiler → bool
final

Methods

build(BuildStep buildStep) → Future
Generates the outputs for a given BuildStep.
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