ExpressionCompiler class abstract

Interface to provide means of compiling expressions from dart to JavaScript used to implement expression evaluation in any tools using dwds

Implementers

Constructors

ExpressionCompiler()

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

compileExpressionToJs(String isolateId, String libraryUri, String scriptUri, int line, int column, Map<String, String> jsModules, Map<String, String> jsFrameValues, String moduleName, String expression) → Future<ExpressionCompilationResult>
Compiles expression in libraryUri at line:column to JavaScript in moduleName.
initialize(CompilerOptions options) → Future<void>
Initializes the compiler with the app build settings.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateDependencies(Map<String, ModuleInfo> modules) → Future<bool>
Trigger (re-)load of kernel files for modules.

Operators

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