ThemedToken class final
A token with its text and resolved style.
Constructors
- ThemedToken(String text, int offset, TokenStyle style, ScopeStack scopes)
-
A token of
textatoffsetpainted withstyle.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → int
-
Offset of text in its line, in UTF-16 code units.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopes → ScopeStack
-
Scopes of the first raw token merged into this one.
final
- style → TokenStyle
-
How to paint text.
final
- text → String
-
The token's text.
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