public static enum Token.TokenType extends Enum<Token.TokenType>
Enum Constant and Description |
---|
ANGLE_END |
COMMENT |
COMMENT_BEGIN |
COMMENT_END |
CONTENT |
DIR_ANGLE_BEGIN |
DIRECTIVE |
EXPR |
EXPR_ANGLE_BEGIN |
EXPR_BRACE_BEGIN |
EXPR_BRACE_END |
STMT |
STMT_ANGLE_BEGIN |
Modifier and Type | Method and Description |
---|---|
String |
getToken() |
static Token.TokenType |
valueOf(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 CONTENT
public static final Token.TokenType COMMENT
public static final Token.TokenType EXPR
public static final Token.TokenType STMT
public static final Token.TokenType DIRECTIVE
public static final Token.TokenType EXPR_BRACE_BEGIN
public static final Token.TokenType EXPR_BRACE_END
public static final Token.TokenType EXPR_ANGLE_BEGIN
public static final Token.TokenType STMT_ANGLE_BEGIN
public static final Token.TokenType DIR_ANGLE_BEGIN
public static final Token.TokenType ANGLE_END
public static final Token.TokenType COMMENT_BEGIN
public static final Token.TokenType COMMENT_END
public static Token.TokenType[] values()
for (Token.TokenType c : Token.TokenType.values()) System.out.println(c);
public static Token.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 nullpublic String getToken()
Copyright © 2024. All rights reserved.