Package gnu.expr
Class Literal
- java.lang.Object
-
- gnu.expr.Literal
-
public class Literal extends Object
A Literal contains compile-time information about a constant.
-
-
Constructor Summary
Constructors Constructor Description Literal(Object value, Field field, LitTable litTable)
Create a new Literal, for a value available from a static field.Literal(Object value, Type type, LitTable litTable)
Literal(Object value, LitTable litTable)
Create a new Literal, where comp must be in immediate mode.Literal(Object value, String name, LitTable litTable)
-
-
-
Constructor Detail
-
Literal
public Literal(Object value, LitTable litTable)
Create a new Literal, where comp must be in immediate mode.
-
Literal
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.
-
-
Method Detail
-
getValue
public final Object getValue()
-
-