SourceRange class

Reference to a range of a source file.

This is used to indicate the region of a source file that corresponds to a particular BlobNode.

By default, BlobNodes are not associated with SourceRanges. Source location information can be enabled for the parseLibraryFile parser by providing the sourceIdentifier argument.

See also:

Annotations

Constructors

SourceRange(SourceLocation start, SourceLocation end)
Create a SourceRange object.

Properties

end SourceLocation
The end of a contiguous region of a source file that corresponds to a particular BlobNode.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start SourceLocation
The start of a contiguous region of a source file that corresponds to a particular BlobNode.
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.
override