ModifierToken class
A token for modifiers.
- Inheritance
-
- Object
- Token<
ModifierTokenType> - ModifierToken
Constructors
- ModifierToken({required Modifier modifier, required ModifierTokenType type, required String rawValue, int globalOffset = -1})
- Creates the token.
Properties
- globalOffset → int
-
Where the token is located.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- modifier → Modifier
-
The held modifier.
final
- rawValue → String
-
The raw value of the token.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ModifierTokenType
-
The type of the token.
finalinherited
Methods
-
compute(
ComputeContext ctx) → Result -
Computes the value(s) stored in this object into a Result.
override
-
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