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 |
AbstractTokenizer.isTwoCharToken(TokenKind kind)
Check if this might be a two character token.
|
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. |
protected void |
AbstractTokenizer.pushCharToken(TokenKind kind)
Push a token of just one character in length.
|
protected void |
AbstractTokenizer.pushPairToken(TokenKind kind)
Push a token of two characters in length.
|
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.