| Modifier and Type | Method and Description |
|---|---|
TokenType |
Token.getType()
Get type of the token represented by
TokenType |
default TokenType |
TokenInfo.getType() |
| Constructor and Description |
|---|
NextTokenTypeVerifier(TokenType type) |
TokenTypeVerifier(TokenType type) |
| Modifier and Type | Method and Description |
|---|---|
abstract TokenType |
EqualableToken.getType() |
TokenType |
PandaToken.getType() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TokenUtils.isTypeOf(TokenInfo representation,
TokenType type) |
static TokenInfo |
PandaTokenInfo.of(TokenType type,
String value) |
| Constructor and Description |
|---|
PandaToken(TokenType type,
String value) |
PandaToken(TokenType type,
@Nullable String name,
String value) |
| Modifier and Type | Field and Description |
|---|---|
static TokenType |
TokenTypes.IDENTIFIER
Represents
Identifier |
static TokenType |
TokenTypes.INDENTATION
Represents
Operator |
static TokenType |
TokenTypes.KEYWORD
Represents
Keyword |
static TokenType |
TokenTypes.LITERAL
Represents
Literal |
static TokenType |
TokenTypes.OPERATOR
Represents
Operator |
static TokenType |
TokenTypes.SECTION
Represents
Separator |
static TokenType |
TokenTypes.SEPARATOR
Represents
Separator |
static TokenType |
TokenTypes.SEQUENCE
Represents
Sequence |
static TokenType |
TokenTypes.UNKNOWN
Represents random
PandaToken |
| Modifier and Type | Method and Description |
|---|---|
static Collection<? extends TokenType> |
TokenTypes.values()
Get all defined in the class types
|
| Modifier and Type | Method and Description |
|---|---|
TokenType |
Identifier.getType() |
TokenType |
Indentation.getType() |
TokenType |
Section.getType() |
| Modifier and Type | Method and Description |
|---|---|
TokenType |
Keyword.getType() |
| Modifier and Type | Method and Description |
|---|---|
TokenType |
Literal.getType() |
| Modifier and Type | Method and Description |
|---|---|
TokenType |
Operator.getType() |
| Modifier and Type | Method and Description |
|---|---|
TokenType |
Separator.getType() |
| Modifier and Type | Method and Description |
|---|---|
TokenType |
Sequence.getType() |
Copyright © 2020. All rights reserved.