TokenType enum

The type of a token.

Inheritance
Available extensions

Values

at → const TokenType

The at token (@).

colon → const TokenType

The colon token (:)

comma → const TokenType

The comma token (,).

endOfFile → const TokenType

The end-of-file token.

equalitySign → const TokenType

The equality sign token (=).

eroteme → const TokenType

The eroteme token (?).

The eroteme is also known as the quesiton mark.

falsum → const TokenType

The falsum token ().

identifier → const TokenType

An identifier.

pint°'s identifier follows Dart's one. The grammar is the following:

<identifier>       ::= <identifier_start> <identifier_part>*
<identifier_start> ::= [A-Za-z_$]
<identifier_part>  ::= <identifier_start> | [0-9]
importIdentifier → const TokenType

An import identifier.

The import identifier follows the grammar:

<import_identifier> ::= "@"? <identifier> ( "/" <identifier> )*
importKeyword → const TokenType

The import keyword token.

leftBrace → const TokenType

The left brace token ({).

leftBracket → const TokenType

The left brace token ([).

leftParenthesis → const TokenType

The left parenthesis token (().

plusSign → const TokenType

The plus sign token (+).

rightBrace → const TokenType

The right brace token (}).

rightBracket → const TokenType

The right brace token (]).

rightParenthesis → const TokenType

The right parenthesis token ()).

slash → const TokenType

The slash token (/).

typeKeyword → const TokenType

The type keyword token.

verum → const TokenType

The verum token ().

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.
override

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.