| java.lang.Object gnu.expr.LitTable
LitTable | public class LitTable implements ObjectOutput(Code) | | Manages the literals of a Compilation.
Implements ObjectOutput, because we use externalization to determine
how literals get compiled into code that re-creates the literal.
|
Method Summary | |
public void | close() | public void | emit() | void | emit(Literal literal, boolean ignore) | void | emitPrimArray(Object value, ArrayType arrayType, CodeAttr code) | void | error(String msg) | public void | flush() | Method | getMethod(ClassType type, String name, Literal literal, boolean isStatic) | void | push(Object value, Type type) | void | putArgs(Literal literal, CodeAttr code) | public void | write(int b) | public void | write(byte[] b) | public void | write(byte[] b, int off, int len) | public void | writeBoolean(boolean v) | public void | writeByte(int v) | public void | writeBytes(String s) | public void | writeChar(int v) | public void | writeChars(String v) | public void | writeDouble(double v) | public void | writeFloat(float v) | public void | writeInt(int v) | public void | writeLong(long v) | public void | writeObject(Object obj) | public void | writeShort(int v) | public void | writeUTF(String v) |
stackPointer | int stackPointer(Code) | | |
close | public void close()(Code) | | |
flush | public void flush()(Code) | | |
writeBoolean | public void writeBoolean(boolean v)(Code) | | |
writeByte | public void writeByte(int v)(Code) | | |
writeChar | public void writeChar(int v)(Code) | | |
writeDouble | public void writeDouble(double v)(Code) | | |
writeFloat | public void writeFloat(float v)(Code) | | |
writeInt | public void writeInt(int v)(Code) | | |
writeLong | public void writeLong(long v)(Code) | | |
writeShort | public void writeShort(int v)(Code) | | |
|
|