VMScript class

A script in the Dart VM.

Inheritance
Implemented types

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
klass VMClassRef
This object's class, or null if this object wasn't allocated on the Dart heap. [...]
final
library VMLibraryRef
The library that owns this script.
final
observatoryUrl Uri
A relative URL for humans to inspect and possibly interact with this object in the Observatory UI. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
The size (in bytes) of this object on the heap. [...]
final
source String
The source code for this script. [...]
final
sourceFile SourceFile
A source file that provides access to location and span information about this script. [...]
read-only
uri Uri
The URI from which this script was loaded.
final, inherited

Methods

addBreakpoint(int line, {int column}) Future<VMBreakpoint>
Adds a breakpoint at line (and optionally column) in this script. [...]
inherited
getSourceReport({bool includeCoverageReport: true, bool includePossibleBreakpoints: true, bool forceCompile: false, VMSourceLocation location}) Future<VMSourceReport>
Generates a set of reports tied to this script. [...]
inherited
load() Future<VMScript>
Loads a full version of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sourceLocation(VMScriptToken token) FileLocation
Returns a FileLocation representing the location indicated by token. [...]
sourceSpan(VMSourceLocation location) FileSpan
Returns a FileSpan representing the source covered by location. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited