public static class Compiler.BodyExpr extends java.lang.Object implements Compiler.MaybePrimitiveExpr
Constructor and Description |
---|
BodyExpr(PersistentVector exprs) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEmitPrimitive() |
void |
emit(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
void |
emitUnboxed(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
java.lang.Object |
eval() |
PersistentVector |
exprs() |
java.lang.Class |
getJavaClass() |
boolean |
hasJavaClass() |
public BodyExpr(PersistentVector exprs)
public final PersistentVector exprs()
public java.lang.Object eval() throws java.lang.Exception
java.lang.Exception
public boolean canEmitPrimitive()
canEmitPrimitive
in interface Compiler.MaybePrimitiveExpr
public void emitUnboxed(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
emitUnboxed
in interface Compiler.MaybePrimitiveExpr
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