public enum IrBasicTypeKind extends Enum<IrBasicTypeKind>
Enum Constant and Description |
---|
BOOLEAN
boolean type. |
BYTE
byte type. |
CHAR
char type. |
DOUBLE
double type. |
FLOAT
float type. |
INT
int type. |
LONG
long type. |
SHORT
short type. |
VOID
void (pseudo-type). |
Modifier and Type | Method and Description |
---|---|
String |
getSymbol()
Returns the symbol of this type kind.
|
static IrBasicTypeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IrBasicTypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IrBasicTypeKind INT
int
type.public static final IrBasicTypeKind LONG
long
type.public static final IrBasicTypeKind FLOAT
float
type.public static final IrBasicTypeKind DOUBLE
double
type.public static final IrBasicTypeKind BYTE
byte
type.public static final IrBasicTypeKind SHORT
short
type.public static final IrBasicTypeKind CHAR
char
type.public static final IrBasicTypeKind BOOLEAN
boolean
type.public static final IrBasicTypeKind VOID
void
(pseudo-type).public static IrBasicTypeKind[] values()
for (IrBasicTypeKind c : IrBasicTypeKind.values()) System.out.println(c);
public static IrBasicTypeKind 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 getSymbol()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.