| Package | Description |
|---|---|
| com.mitchellbosecke.pebble.lexer |
| Modifier and Type | Method and Description |
|---|---|
Token.Type |
Token.getType() |
static Token.Type |
Token.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Token.Type[] |
Token.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
TokenStream.expect(Token.Type type)
Checks the current token to see if it matches the provided type.
|
Token |
TokenStream.expect(Token.Type type,
String value)
Checks the current token to see if it matches the provided type.
|
void |
Token.setType(Token.Type type) |
boolean |
Token.test(Token.Type type) |
boolean |
Token.test(Token.Type type,
String... values) |
| Constructor and Description |
|---|
Token(Token.Type type,
String value,
int lineNumber) |
Copyright © 2015. All rights reserved.