v1/cli library

Supports the compiler running in a command-line interface (CLI).

Utilities and classes here are not directly related to the compilation pipeline, but instead are used to manage the process, logging, exception handling, and other related functionality.

NOTE: This is not an externally stable API. Use at your own risk.

Classes

Compiler
Compiles .dart files and .html, .css files for AngularDart.
CompilerFlags
Compiler-wide configuration (flags) to allow opting in/out.
Placeholder
Generates an empty file to indicate .template.dart will exist.
SourceSpanMessageTuple

Properties

messages Messages
Returns the currently bound Messages instance.
final

Functions

logFine(String message) → void
Logs a fine-level message.
logNotice(String message) → void
Logs a notice-level message.
logWarning(String message) → void
Logs a warning-level message.
sourceSpanWithLineInfo(int offset, int length, String source, Uri uri) → SourceSpan
Creates a source span with line and column numbers.