ReferenceInputSpan class final

A half-open UTF-16 source span.

Constructors

ReferenceInputSpan(int start, int end)
const

Properties

end → int
Exclusive UTF-16 end offset.
final
hashCode → int
The hash code for this object.
no setteroverride
isEmpty → bool
Whether this span contains no UTF-16 code units.
no setter
length → int
Number of UTF-16 code units in this span.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → int
Inclusive UTF-16 start offset.
final

Methods

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

Operators

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