| java.lang.Object gnu.expr.Literal
Literal | public class Literal (Code) | | A Literal contains compile-time information about a constant.
|
Constructor Summary | |
public | Literal(Object value, Compilation comp) Create a new Literal, where comp must be in immediate mode. | public | Literal(Object value, String name, Compilation comp) | public | Literal(Object value, Field field, Compilation comp) Create a new Literal, for a value available from a static field.
The field must be static and already exist. | public | Literal(Object value, Type type, Compilation comp) | | Literal(Object value, Type type) |
CYCLIC | final static int CYCLIC(Code) | | |
EMITTED | final static int EMITTED(Code) | | In pass 2, object has been at least allocated.
|
WRITING | final static int WRITING(Code) | | Set at the beginning of the call to writeObject.
|
WRITTEN | final static int WRITTEN(Code) | | Set at the end of the call to writeObject.
|
argTypes | Type[] argTypes(Code) | | Types produced by calling writeObject on value.
|
argValues | Object[] argValues(Code) | | Values produced by calling writeObject on value.
|
Literal | public Literal(Object value, Compilation comp)(Code) | | Create a new Literal, where comp must be in immediate mode.
|
Literal | public Literal(Object value, Field field, Compilation comp)(Code) | | Create a new Literal, for a value available from a static field.
The field must be static and already exist.
|
assign | void assign(String name, Compilation comp)(Code) | | Assign a static Field to hold the value of this Literal.
This supports the same value being used multiple times or cyclically.
|
|
|