public abstract static class Compiler.HostExpr extends java.lang.Object implements Compiler.MaybePrimitiveExpr
Constructor and Description |
---|
HostExpr() |
Modifier and Type | Method and Description |
---|---|
void |
emit(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
static void |
emitBoxReturn(Compiler.ObjExpr objx,
GeneratorAdapter gen,
java.lang.Class returnType) |
static void |
emitUnboxArg(Compiler.ObjExpr objx,
GeneratorAdapter gen,
java.lang.Class paramType) |
java.lang.Object |
eval() |
java.lang.Class |
getJavaClass() |
boolean |
hasJavaClass() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canEmitPrimitive, emitUnboxed
public static void emitBoxReturn(Compiler.ObjExpr objx, GeneratorAdapter gen, java.lang.Class returnType)
public static void emitUnboxArg(Compiler.ObjExpr objx, GeneratorAdapter gen, java.lang.Class paramType)
public java.lang.Object eval() throws java.lang.Exception
java.lang.Exception
public void emit(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
public boolean hasJavaClass() throws java.lang.Exception
java.lang.Exception
public java.lang.Class getJavaClass() throws java.lang.Exception
java.lang.Exception