| Package | Description |
|---|---|
| gnu.expr |
Supports
Expression,
and various related classes need to compile programming languages. |
| gnu.kawa.functions |
Various core run-time functions and operators.
|
| gnu.kawa.reflect |
Contains classes to use reflection.
|
| kawa.standard |
Primitive Scheme syntax and functions.
|
| 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 int |
PrimProcedure.mostSpecific (PrimProcedure[] procs,
int length)
Return the index of the most specific method.
|
| Modifier and Type | Field and Description |
|---|---|
static PrimProcedure |
CompilationHelpers.getSetterProc |
| Modifier and Type | Method and Description |
|---|---|
PrimProcedure |
CompileBuildObject.getDefaultConstructor () |
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 |
Invoke.getStaticMethod (ClassType type,
java.lang.String name,
Expression[] args)
Deprecated.
|
static PrimProcedure |
CompileInvoke.getStaticMethod (ClassType type,
java.lang.String name,
Expression[] args) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ClassMethods.selectApplicable (PrimProcedure[] methods,
int numArgs,
boolean maybeMore)
Select methods that have the right number of parameters.
|
static long |
ClassMethods.selectApplicable (PrimProcedure[] methods,
Type[] atypes,
Type restType)
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).
|
void |
CompileBuildObject.setDefaultConstructor (PrimProcedure proc) |
static Expression |
CompileInvoke.validateNamedInvoke (ApplyExp exp,
InlineCalls visitor,
ObjectType type,
java.lang.String name,
PrimProcedure[] methods,
Invoke iproc,
Type required) |
| Modifier and Type | Method and Description |
|---|---|
static PrimProcedure |
location.getMakeProcLocProc () |