Alias<T> class

A reference to another token of type T.

Inheritance

Constructors

Alias({required int collection, required int token})
const

Properties

collection int
The referenced collection index.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token int
The referenced token index.
final

Methods

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 ==(covariant Alias<T> other) bool
The equality operator.
override

Static Methods

fromType(TokenTypeMetadata type, int collection, int token) Alias