Token class

Token class

Constructors

Token(String value, dynamic type, bool isClassContext)

Properties

hashCode → int
The hash code for this object.
no setterinherited
isClassContext ↔ bool
if class context is true the upcoming identifier will be treated as a static identifier
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ dynamic
type of token must be one of TokenTypes
getter/setter pair
value ↔ String
will store string value of token
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
for debugging and testing
override

Operators

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