Compiler class

Compiles .dart files and .html, .css files for AngularDart.

To use as a Builder, see Compiler.asBuilder.

Constructors

Compiler(CompilerFlags _flags, Future<String> _build(LibraryReader, BuildStep, CompilerFlags))
Create a new Compiler instance that uses the provided flag and builder.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asBuilder({String extension = '.template.dart'}) → Builder
Returns the compiler wrapped as a Builder.
generate(LibraryReader library, BuildStep buildStep) Future<String>
Generates Dart code for an input Dart library.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Identify ourselves in debug logs and generated files.
override

Operators

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