SingleMapping class

A map containing direct source mappings.

Inheritance

Constructors

SingleMapping.fromEntries(Iterable<Entry> entries, [ String fileUrl ])
factory
SingleMapping.fromJson(Map map, { dynamic mapUrl })

Properties

debugString String
read-only
extensions Map<String, dynamic>
final
files List<SourceFile>
The SourceFiles to which the entries in lines refer. [...]
final
lines List<TargetLineEntry>
Entries indicating the beginning of each span.
final
names List<String>
Source names used in the mapping, indexed by id.
final
sourceRoot String
Source root prepended to all entries in urls.
read / write
targetUrl String
Url of the target file.
read / write
urls List<String>
Source urls used in the mapping, indexed by id.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

spanFor(int line, int column, { Map<String, SourceFile> files, String uri }) SourceMapSpan
Returns the span associated with line and column. [...]
toJson({bool includeSourceContents: false }) Map
Encodes the Mapping mappings as a json map. [...]
toString() String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
spanForLocation(SourceLocation location, { Map<String, SourceFile> files }) SourceMapSpan
Returns the span associated with location.
inherited

Operators

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