public static class Compiler.FnExpr extends Compiler.ObjExpr
Modifier and Type | Field and Description |
---|---|
(package private) static Type |
aFnType |
private boolean |
hasMeta |
private boolean |
hasPrimSigs |
(package private) IPersistentCollection |
methods |
(package private) static Type |
restFnType |
(package private) Compiler.FnMethod |
variadicMethod |
altCtorDrops, classMeta, closes, closesExprs, column, compiledClass, CONST_PREFIX, constants, constantsID, DYNAMIC_CLASSLOADER_TYPE, fields, getClassLoaderMethod, getClassMethod, getConstantsMethod, hintedFields, ILOOKUP_SITE_TYPE, ILOOKUP_THUNK_TYPE, internalName, isStatic, KEYWORD_LOOKUPSITE_TYPE, keywordCallsites, keywords, kwintern, line, name, objtype, onceOnly, protocolCallsites, readStringMethod, src, symintern, tag, thisName, varCallsites, varGetMethod, varGetRawMethod, varintern, vars, voidctor, volatiles
Constructor and Description |
---|
Compiler.FnExpr(java.lang.Object tag) |
Modifier and Type | Method and Description |
---|---|
void |
emitForDefn(Compiler.ObjExpr objx,
GeneratorAdapter gen) |
protected void |
emitMethods(ClassVisitor cv) |
java.lang.Class |
getJavaClass() |
boolean |
hasJavaClass() |
(package private) boolean |
isVariadic() |
IPersistentCollection |
methods() |
(package private) static Compiler.Expr |
parse(Compiler.C context,
ISeq form,
java.lang.String name) |
(package private) boolean |
supportsMeta() |
Compiler.ObjMethod |
variadicMethod() |
cachedClassName, cachedProtoFnName, cachedProtoImplName, cachedVarName, closes, column, compile, compiledClass, constantName, constants, constantsID, constantType, ctorTypes, emit, emitAssignLocal, emitClearCloses, emitConstant, emitConstants, emitKeyword, emitLetFnInits, emitListAsObjectArray, emitStatics, emitValue, emitVar, emitVarValue, eval, getCompiledClass, internalName, isDeftype, isMutable, isVolatile, keywords, line, name, objtype, siteName, siteNameStatic, thisName, thunkName, thunkNameStatic, trimGenID, varCallsiteName, vars
static final Type aFnType
static final Type restFnType
Compiler.FnMethod variadicMethod
IPersistentCollection methods
private boolean hasPrimSigs
private boolean hasMeta
public boolean hasJavaClass()
hasJavaClass
in interface Compiler.Expr
hasJavaClass
in class Compiler.ObjExpr
boolean supportsMeta()
supportsMeta
in class Compiler.ObjExpr
public java.lang.Class getJavaClass()
getJavaClass
in interface Compiler.Expr
getJavaClass
in class Compiler.ObjExpr
protected void emitMethods(ClassVisitor cv)
emitMethods
in class Compiler.ObjExpr
static Compiler.Expr parse(Compiler.C context, ISeq form, java.lang.String name)
public final Compiler.ObjMethod variadicMethod()
boolean isVariadic()
public final IPersistentCollection methods()
public void emitForDefn(Compiler.ObjExpr objx, GeneratorAdapter gen)