TokenType enum
All possible types identified during a Lexical analysis
Constructors
- TokenType()
-
const
Values
- terminal → const TokenType
-
Represents a terminal symbol
- genericTerminal → const TokenType
-
Represents a generic terminal symbol. It is a symbol that can be replaced with a valid symbol defined in a regex
- attributionValue → const TokenType
-
Currently, regex expressions parsed in input are not validate or subdivided. So this tokenType informs all right expression on a attribution
- characterSet → const TokenType
-
A character set that make part of a regex
- production → const TokenType
-
Defines a production non-terminal symbol
- operator → const TokenType
-
Defines a operator that can be used in the grammar
Such as "|", "=", "::="
- string → const TokenType
-
Defines a string that is between quotes
- comment → const TokenType
-
Represents a comment in BNF way
Properties
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