public static class Compiler.FnMethod extends Compiler.ObjMethod
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Class[] |
argclasses |
(package private) Type[] |
argtypes |
(package private) java.lang.String |
prim |
(package private) PersistentVector |
reqParms |
(package private) Compiler.LocalBinding |
restParm |
(package private) java.lang.Class |
retClass |
argLocals, body, column, indexlocals, line, locals, localsUsedInCatchFinally, maxLocal, methodMeta, objx, parent
Constructor and Description |
---|
Compiler.FnMethod(Compiler.ObjExpr objx,
Compiler.ObjMethod parent) |
Modifier and Type | Method and Description |
---|---|
static char |
classChar(java.lang.Object x) |
void |
doEmit(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
doEmitPrim(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
doEmitStatic(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
emit(Compiler.ObjExpr fn,
ClassVisitor cv) |
(package private) void |
emitClearLocals(GeneratorAdapter gen) |
(package private) Type[] |
getArgTypes() |
(package private) java.lang.String |
getMethodName() |
(package private) Type |
getReturnType() |
(package private) boolean |
isVariadic() |
(package private) int |
numParams() |
(package private) static Compiler.FnMethod |
parse(Compiler.ObjExpr objx,
ISeq form,
boolean isStatic) |
static java.lang.String |
primInterface(IPersistentVector arglist) |
PersistentVector |
reqParms() |
Compiler.LocalBinding |
restParm() |
argLocals, body, column, emitBody, emitClearLocalsOld, line, locals, maxLocal, objx
PersistentVector reqParms
Compiler.LocalBinding restParm
Type[] argtypes
java.lang.Class[] argclasses
java.lang.Class retClass
java.lang.String prim
public Compiler.FnMethod(Compiler.ObjExpr objx, Compiler.ObjMethod parent)
public static char classChar(java.lang.Object x)
public static java.lang.String primInterface(IPersistentVector arglist)
static Compiler.FnMethod parse(Compiler.ObjExpr objx, ISeq form, boolean isStatic)
public void emit(Compiler.ObjExpr fn, ClassVisitor cv)
emit
in class Compiler.ObjMethod
public void doEmitStatic(Compiler.ObjExpr fn, ClassVisitor cv)
public void doEmitPrim(Compiler.ObjExpr fn, ClassVisitor cv)
public void doEmit(Compiler.ObjExpr fn, ClassVisitor cv)
public final PersistentVector reqParms()
public final Compiler.LocalBinding restParm()
boolean isVariadic()
int numParams()
numParams
in class Compiler.ObjMethod
java.lang.String getMethodName()
getMethodName
in class Compiler.ObjMethod
Type getReturnType()
getReturnType
in class Compiler.ObjMethod
Type[] getArgTypes()
getArgTypes
in class Compiler.ObjMethod
void emitClearLocals(GeneratorAdapter gen)
emitClearLocals
in class Compiler.ObjMethod