HighlightsCollector class abstract
An object that HighlightsContributors use to record highlight regions.
Clients may not extend, implement or mix-in this class.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRange(
SourceRange range, HighlightRegionType type) → void -
Add a highlight region corresponding to the given source
range
whose type is the giventype
. -
addRegion(
int offset, int length, HighlightRegionType type) → void -
Add a highlight region starting at the given
offset
and having the givenlength
whose type is the giventype
. -
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