SourceLocation class final

Location in the original input, rather than generated code.

line and column, when present, are one-based. A declaration in a part retains that part's URI, while its identity retains the owning library URI.

Constructors

SourceLocation(Uri uri, int offset, int length, {int? line, int? column})
const

Properties

column → int?
final
hashCode → int
The hash code for this object.
no setterinherited
length → int
final
line → int?
final
offset → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Uri
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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