Entry class

An entry in the source map builder.

Implemented types

Constructors

Entry(SourceLocation source, SourceLocation target, String? identifierName)
Creates a new Entry mapping target to source.

Properties

hashCode int
The hash code for this object.
no setterinherited
identifierName String?
An identifier name, when this location is the start of an identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source → SourceLocation
Span denoting the original location in the input source file
final
target → SourceLocation
Span indicating the corresponding location in the target file.
final

Methods

compareTo(Entry other) int
Implements Comparable to ensure that entries are ordered by their location in the target file. We sort primarily by the target offset because source map files are encoded by printing each mapping in order as they appear in the target file.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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