public enum TokenType extends Enum<TokenType>
| Enum Constant and Description |
|---|
ALIAS |
ANCHOR |
BLOCK_END |
BLOCK_ENTRY |
BLOCK_MAPPING_START |
BLOCK_SEQUENCE_START |
DIRECTIVE |
DOCUMENT_END |
DOCUMENT_START |
FLOW_ENTRY |
FLOW_MAPPING_END |
FLOW_MAPPING_START |
FLOW_SEQUENCE_END |
FLOW_SEQUENCE_START |
KEY |
SCALAR |
STREAM_END |
STREAM_START |
TAG |
VALUE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType DOCUMENT_START
public static final TokenType DOCUMENT_END
public static final TokenType BLOCK_MAPPING_START
public static final TokenType BLOCK_SEQUENCE_START
public static final TokenType BLOCK_ENTRY
public static final TokenType BLOCK_END
public static final TokenType FLOW_ENTRY
public static final TokenType FLOW_MAPPING_END
public static final TokenType FLOW_MAPPING_START
public static final TokenType FLOW_SEQUENCE_END
public static final TokenType FLOW_SEQUENCE_START
public static final TokenType KEY
public static final TokenType VALUE
public static final TokenType STREAM_END
public static final TokenType STREAM_START
public static final TokenType ALIAS
public static final TokenType ANCHOR
public static final TokenType DIRECTIVE
public static final TokenType SCALAR
public static final TokenType TAG
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.