TokenType class abstract

Implementers

Constructors

TokenType()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isMultiChar bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createToken(ComputeContext ctx, String rawValue, int globalOffset) Token<TokenType>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(ComputeContext ctx, Token<TokenType>? previousToken, String rawBuildingToken, Token<TokenType>? nextToken) bool
validateNext(ComputeContext ctx, String rawBuildingToken, Token<TokenType>? nextToken) bool
validateNextType(ComputeContext ctx, String rawBuildingToken, TokenType? nextTokenType) bool
validatePrevious(ComputeContext ctx, String rawBuildingToken, Token<TokenType>? previousToken) bool
validatePreviousType(ComputeContext ctx, String rawBuildingToken, TokenType? previousTokenType) bool
validateType(ComputeContext ctx, TokenType? previousTokenType, String rawBuildingToken, TokenType? nextTokenType) bool

Operators

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