Compiler enum

All the Dart compilers supported by the test runner.

Inheritance

Constructors

Compiler(String name, String identifier)
const
Compiler.deserialize(Object serialized)
Converts a JSON-safe representation generated by serialize back into a Compiler.
factory

Values

dart2js → const Compiler

The production Dart to Javascript compiler (whole world, optimizing).

const Compiler('Dart2Js', 'dart2js')
dart2wasm → const Compiler

Experimental Dart to Wasm compiler.

const Compiler('Dart2Wasm', 'dart2wasm')
exe → const Compiler

Compiles dart code to a native executable.

const Compiler('Exe', 'exe')
kernel → const Compiler

The standard compiler for vm tests, compiles tests to kernel before running them on the VM.

const Compiler('Kernel', 'kernel')
source → const Compiler

Runs tests directly from source, with no precompilation.

const Compiler('Source', 'source')

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
The identifier used to look up the compiler.
final
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
The human-friendly name of the compiler.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Object
Converts this into a JSON-safe object that can be converted back to a Compiler using Compiler.deserialize.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

builtIn → const List<Compiler>
The compilers that are supported by the test runner by default.
values → const List<Compiler>
A constant List of the values in this enum, in order of their declaration.