| Package | Description |
|---|---|
| gudusoft.gsqlparser.pp2.token |
| Modifier and Type | Method and Description |
|---|---|
static TokenRole |
TokenRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenRole[] |
TokenRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<TokenRole> |
Pp2Token.getRoles()
Read-only view of the role set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Pp2Token.addRole(TokenRole role) |
boolean |
Pp2Token.hasRole(TokenRole role) |
void |
Pp2Token.removeRole(TokenRole role) |
| Constructor and Description |
|---|
Pp2Token(TSourceToken sourceToken,
int precedingBlanks,
int precedingLinebreaks,
Set<TokenRole> roles)
Construct with the given roles and preceding whitespace counts.
|