gnu.expr

Class Literal

public class Literal extends Object

A Literal contains compile-time information about a constant.
Field Summary
Fieldfield
intflags
static LiteralnullLiteral
Typetype
Constructor Summary
Literal(Object value, LitTable litTable)
Create a new Literal, where comp must be in immediate mode.
Literal(Object value, String name, LitTable litTable)
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)
Method Summary
ObjectgetValue()

Field Detail

field

public Field field

flags

public int flags

nullLiteral

public static final Literal nullLiteral

type

public Type type

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, String name, LitTable litTable)

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.

Literal

public Literal(Object value, Type type, LitTable litTable)

Method Detail

getValue

public final Object getValue()