CodeToken class

A highlighted run of code: the characters from start to end are a kind of token.

Constructors

CodeToken(int start, int end, CodeTokenKind kind)
Creates a CodeToken.
const

Properties

end → int
Where the token ends in the code (exclusive).
final
hashCode → int
The hash code for this object.
no setteroverride
kind → CodeTokenKind
What the token is.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → int
Where the token starts in the code.
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