public static enum Token.TokenType extends java.lang.Enum<Token.TokenType>
Enum Constant and Description |
---|
ATOM |
BAR_LINE |
FUNCTION |
INSTRUMENT |
KEY_SIGNATURE |
LAYER |
LYRIC |
MARKER |
NOTE |
TEMPO |
TIME_SIGNATURE |
TRACK_TIME_BOOKMARK |
TRACK_TIME_BOOKMARK_REQUESTED |
UNKNOWN_TOKEN |
VOICE |
WHITESPACE |
Modifier and Type | Method and Description |
---|---|
static Token.TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.TokenType VOICE
public static final Token.TokenType LAYER
public static final Token.TokenType INSTRUMENT
public static final Token.TokenType TEMPO
public static final Token.TokenType KEY_SIGNATURE
public static final Token.TokenType TIME_SIGNATURE
public static final Token.TokenType BAR_LINE
public static final Token.TokenType TRACK_TIME_BOOKMARK
public static final Token.TokenType TRACK_TIME_BOOKMARK_REQUESTED
public static final Token.TokenType LYRIC
public static final Token.TokenType MARKER
public static final Token.TokenType FUNCTION
public static final Token.TokenType NOTE
public static final Token.TokenType WHITESPACE
public static final Token.TokenType ATOM
public static final Token.TokenType UNKNOWN_TOKEN
public static Token.TokenType[] values()
for (Token.TokenType c : Token.TokenType.values()) System.out.println(c);
public static Token.TokenType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null