public static final class Java.BasicType extends Java.Type
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN
Value representing the BOOLEAN type.
|
static int |
BYTE
Value representing the BYTE type.
|
static int |
CHAR
Value representing the CHAR type.
|
static int |
DOUBLE
Value representing the DOUBLE type.
|
static int |
FLOAT
Value representing the FLOAT type.
|
int |
index
|
static int |
INT
Value representing the INT type.
|
static int |
LONG
Value representing the LONG type.
|
static int |
SHORT
Value representing the SHORT type.
|
static int |
VOID
Value representing the VOID type.
|
NOWHERE
Constructor and Description |
---|
BasicType(Location location,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.AtomVisitor visitor)
|
void |
accept(Visitor.TypeVisitor visitor)
|
String |
toString() |
getEnclosingScope, setEnclosingScope, toType
toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toTypeOrCompileException
getLocation, throwCompileException
public final int index
public static final int VOID
public static final int BYTE
public static final int SHORT
public static final int CHAR
public static final int INT
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public static final int BOOLEAN
public BasicType(Location location, int index)
public void accept(Visitor.TypeVisitor visitor)
Java.Type
public void accept(Visitor.AtomVisitor visitor)
Java.Atom
Copyright © 2001–2016. All rights reserved.