Package | Description |
---|---|
gnu.expr |
Supports
Expression ,
and various related classes need to compile programming languages. |
gnu.kawa.reflect |
Contains classes to use reflection.
|
Modifier and Type | Method and Description |
---|---|
static PrimProcedure |
PrimProcedure.getMethodFor(java.lang.Class procClass,
java.lang.String name,
Declaration decl,
Expression[] args,
Language language)
Get PrimProcedure for matching method in given class.
|
static PrimProcedure |
PrimProcedure.getMethodFor(ClassType procClass,
java.lang.String name,
Declaration decl,
Expression[] args,
Language language) |
static PrimProcedure |
PrimProcedure.getMethodFor(ClassType procClass,
java.lang.String name,
Declaration decl,
Type[] atypes,
Language language) |
static PrimProcedure |
PrimProcedure.getMethodFor(Procedure pproc,
Declaration decl,
Expression[] args,
Language language)
Search for a matching static method in a procedure's class.
|
static PrimProcedure |
PrimProcedure.getMethodFor(Procedure pproc,
Declaration decl,
Type[] atypes,
Language language) |
static PrimProcedure |
PrimProcedure.getMethodFor(Procedure pproc,
Expression[] args) |
static PrimProcedure |
PrimProcedure.makeBuiltinBinary(int opcode,
Type type) |
static PrimProcedure |
PrimProcedure.makeBuiltinUnary(int opcode,
Type type) |
Modifier and Type | Method and Description |
---|---|
static PrimProcedure[] |
ClassMethods.getMethods(ObjectType dtype,
java.lang.String mname,
char mode,
ClassType caller,
Language language)
Return the methods of a class with the specified name and flag.
|
protected static PrimProcedure[] |
CompileInvoke.getMethods(ObjectType ctype,
java.lang.String mname,
ClassType caller,
Invoke iproc) |
static PrimProcedure |
CompileInvoke.getStaticMethod(ClassType type,
java.lang.String name,
Expression[] args) |
static PrimProcedure |
Invoke.getStaticMethod(ClassType type,
java.lang.String name,
Expression[] args)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
ClassMethods.selectApplicable(PrimProcedure[] methods,
int numArgs)
Select methods that have the right number of parameters.
|
static long |
ClassMethods.selectApplicable(PrimProcedure[] methods,
Type[] atypes)
Re-order the methods such that the ones that are definite
applicable (all argtypes is subset of parameter type) are first;
those possibly applicable next (argtype overlaps parameter types);
and ending with those definitely not applicable (some argtype does
overlap its parameter type).
|