Package | Description |
---|---|
org.springframework.cloud.dataflow.core.dsl |
Base package for processing DeploymentUnit(Stream/Job) DSL.
|
Modifier and Type | Method and Description |
---|---|
TokenKind |
Token.getKind() |
static TokenKind |
TokenKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenKind[] |
TokenKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected Token |
Tokens.eat(TokenKind expectedKind)
Consume the next token if it matches the indicated token kind;
otherwise throw
CheckPointedParseException . |
boolean |
Token.isKind(TokenKind desiredKind) |
protected boolean |
Tokens.lookAhead(int distance,
TokenKind desiredTokenKind)
Return
true if the token in the position indicated
by Tokens.position + distance matches
the token indicated by desiredTokenKind . |
protected boolean |
Tokens.peek(TokenKind desiredTokenKind)
Return
true if the indicated token matches the current token
position. |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.