public static class Compiler.LetExpr extends java.lang.Object implements Compiler.Expr, Compiler.MaybePrimitiveExpr
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Compiler.LetExpr.Parser |
Modifier and Type | Field and Description |
---|---|
PersistentVector |
bindingInits |
Compiler.Expr |
body |
boolean |
isLoop |
Constructor and Description |
---|
Compiler.LetExpr(PersistentVector bindingInits,
Compiler.Expr body,
boolean isLoop) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEmitPrimitive() |
void |
doEmit(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen,
boolean emitUnboxed) |
void |
emit(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
void |
emitUnboxed(Compiler.C context,
Compiler.ObjExpr objx,
GeneratorAdapter gen) |
java.lang.Object |
eval() |
java.lang.Class |
getJavaClass() |
boolean |
hasJavaClass() |
public final PersistentVector bindingInits
public final Compiler.Expr body
public final boolean isLoop
public Compiler.LetExpr(PersistentVector bindingInits, Compiler.Expr body, boolean isLoop)
public java.lang.Object eval()
eval
in interface Compiler.Expr
public void emit(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
emit
in interface Compiler.Expr
public void emitUnboxed(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen)
emitUnboxed
in interface Compiler.MaybePrimitiveExpr
public void doEmit(Compiler.C context, Compiler.ObjExpr objx, GeneratorAdapter gen, boolean emitUnboxed)
public boolean hasJavaClass()
hasJavaClass
in interface Compiler.Expr
public java.lang.Class getJavaClass()
getJavaClass
in interface Compiler.Expr
public boolean canEmitPrimitive()
canEmitPrimitive
in interface Compiler.MaybePrimitiveExpr