clojure.lang
Class Compiler.LetExpr

java.lang.Object
  extended by clojure.lang.Compiler.LetExpr
All Implemented Interfaces:
Compiler.MaybePrimitiveExpr
Enclosing class:
Compiler

public static class Compiler.LetExpr
extends Object
implements Compiler.MaybePrimitiveExpr


Field Summary
 PersistentVector bindingInits
           
 clojure.lang.Compiler.Expr body
           
 boolean isLoop
           
 
Constructor Summary
Compiler.LetExpr(PersistentVector bindingInits, clojure.lang.Compiler.Expr body, boolean isLoop)
           
 
Method Summary
 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)
           
 Object eval()
           
 Class getJavaClass()
           
 boolean hasJavaClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bindingInits

public final PersistentVector bindingInits

body

public final clojure.lang.Compiler.Expr body

isLoop

public final boolean isLoop
Constructor Detail

Compiler.LetExpr

public Compiler.LetExpr(PersistentVector bindingInits,
                        clojure.lang.Compiler.Expr body,
                        boolean isLoop)
Method Detail

eval

public Object eval()

emit

public void emit(Compiler.C context,
                 Compiler.ObjExpr objx,
                 GeneratorAdapter gen)

emitUnboxed

public void emitUnboxed(Compiler.C context,
                        Compiler.ObjExpr objx,
                        GeneratorAdapter gen)
Specified by:
emitUnboxed in interface Compiler.MaybePrimitiveExpr

doEmit

public void doEmit(Compiler.C context,
                   Compiler.ObjExpr objx,
                   GeneratorAdapter gen,
                   boolean emitUnboxed)

hasJavaClass

public boolean hasJavaClass()

getJavaClass

public Class getJavaClass()

canEmitPrimitive

public boolean canEmitPrimitive()
Specified by:
canEmitPrimitive in interface Compiler.MaybePrimitiveExpr


Copyright © 2015. All Rights Reserved.