Package | Description |
---|---|
org.artificer.common.query.xpath |
Modifier and Type | Method and Description |
---|---|
TokenType |
Token.getType() |
static TokenType |
TokenType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
TokenType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenStream.addToken(String value,
TokenType type)
Adds a token to the stream.
|
boolean |
Token.matches(TokenType... tokenTypes)
Returns true if this token's type matches any of the token types provided.
|
boolean |
TokenStream.matches(TokenType tokenType)
Returns true if the next token in the stream matches any of the given types.
|
boolean |
TokenStream.matchesAnyOf(TokenType... tokenTypes)
Returns true if the next token in the stream matches any of the given types.
|
Constructor and Description |
---|
Token(TokenType type,
String value)
Constructor.
|
Copyright © 2011–2015 JBoss, a division of Red Hat. All rights reserved.