public static enum ASTNode.DataType extends Enum<ASTNode.DataType>
Modifier and Type | Method and Description |
---|---|
static ASTNode.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ASTNode.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ASTNode.DataType INT
public static final ASTNode.DataType BOOL
public static final ASTNode.DataType VOID
public static final ASTNode.DataType STR
public static ASTNode.DataType[] values()
for (ASTNode.DataType c : ASTNode.DataType.values()) System.out.println(c);
public static ASTNode.DataType 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 © 2019. All rights reserved.