TokenType enum

Inheritance
Available extensions

Values

LEFT_PAREN → const TokenType
RIGHT_PAREN → const TokenType
LEFT_BRACE → const TokenType
RIGHT_BRACE → const TokenType
LEFT_BRACKET → const TokenType
RIGHT_BRACKET → const TokenType
COMMA → const TokenType
DOT → const TokenType
MINUS → const TokenType
PLUS → const TokenType
SEMICOLON → const TokenType
SLASH → const TokenType
STAR → const TokenType
COLON → const TokenType
MOD → const TokenType
QUESTION → const TokenType
BANG → const TokenType
BANG_EQUAL → const TokenType
EQUAL → const TokenType
EQUAL_EQUAL → const TokenType
GREATER → const TokenType
GREATER_EQUAL → const TokenType
LESS → const TokenType
LESS_EQUAL → const TokenType
IDENTIFIER → const TokenType
STRING → const TokenType
NUMBER → const TokenType
AND → const TokenType
CLASS → const TokenType
ELSE → const TokenType
FALSE → const TokenType
FUN → const TokenType
FOR → const TokenType
IF → const TokenType
NIL → const TokenType
OR → const TokenType
FOREACH → const TokenType
PRINT → const TokenType
RETURN → const TokenType
SUPER → const TokenType
THIS → const TokenType
TRUE → const TokenType
VAR → const TokenType
WHILE → const TokenType
AWAIT → const TokenType
ASYNC → const TokenType
EXTENDS → const TokenType
IMPORT → const TokenType
EOF → const TokenType

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<TokenType>
A constant List of the values in this enum, in order of their declaration.