public static class Compiler.BodyExpr extends java.lang.Object implements Compiler.Expr, Compiler.MaybePrimitiveExpr
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Compiler.BodyExpr.Parser |
Modifier and Type | Field and Description |
---|---|
(package private) PersistentVector |
exprs |
Constructor and Description |
---|
Compiler.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() |
private Compiler.Expr |
lastExpr() |
PersistentVector exprs
public Compiler.BodyExpr(PersistentVector exprs)
public final PersistentVector exprs()
public java.lang.Object eval()
eval
in interface Compiler.Expr
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)
emit
in interface Compiler.Expr
public boolean hasJavaClass()
hasJavaClass
in interface Compiler.Expr
public java.lang.Class getJavaClass()
getJavaClass
in interface Compiler.Expr
private Compiler.Expr lastExpr()