| 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, LitTable litTable) Create a new Literal, where comp must be in immediate mode. | public | Literal(Object value, String name, LitTable litTable) | public | Literal(Object value, Field field, LitTable litTable) 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, LitTable litTable) | | 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, LitTable litTable)(Code) | | Create a new Literal, where comp must be in immediate mode.
|
Literal | public Literal(Object value, Field field, LitTable litTable)(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, LitTable litTable)(Code) | | Assign a static Field to hold the value of this Literal.
This supports the same value being used multiple times or cyclically.
|
|
|