Package | Description |
---|---|
gnu.bytecode |
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class files. |
gnu.expr |
Supports
Expression ,
and various related classes need to compile programming languages. |
gnu.kawa.lispexpr |
Support classes for compiling and running Lisp languages.
|
gnu.kawa.reflect |
Contains classes to use reflection.
|
gnu.kawa.xml |
Classes for using XML within Kawa.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayType |
class |
ClassType |
class |
ParameterizedType |
class |
SpecialObjectType
Used for object types that don't correspond to JVM types.
|
class |
TypeVariable
A type variable in a parameterized type.
|
class |
UninitializedType
A pseudo-type used for allocated but uninitialized objects.
|
Modifier and Type | Field and Description |
---|---|
static ObjectType |
Type.errorType |
static ObjectType |
Type.nullType
The magic type of null.
|
static ObjectType |
Type.tostring_type
Deprecated.
|
static ObjectType |
Type.toStringType |
Modifier and Type | Method and Description |
---|---|
ObjectType |
CpoolClass.getClassType()
Get corresponding ObjectType (ClassType or ArrayType).
|
Modifier and Type | Method and Description |
---|---|
CpoolClass |
ConstantPool.addClass(ObjectType otype) |
void |
CodeAttr.emitPushClass(ObjectType ctype)
Push a class constant pool entry.
|
void |
CodeAttr.emitPushNull(ObjectType type) |
static boolean |
ClassType.isAccessible(ClassType caller,
ClassType declaring,
ObjectType receiver,
int modifiers)
Check if a component is accessible from this class.
|
boolean |
ClassType.isAccessible(Member member,
ObjectType receiver)
Check if a member is accessible from this class.
|
Modifier and Type | Class and Description |
---|---|
static class |
InlineCalls.ProcedureInCallContext |
static class |
InlineCalls.ValueNeededType
A marker type to indicate that void is invalid.
|
class |
PairClassType
A class type implemented as a pair of an interface and a class.
|
Modifier and Type | Method and Description |
---|---|
void |
Compilation.loadClassRef(ObjectType clas)
Generate code to load a named Class without initializing it.
|
Modifier and Type | Class and Description |
---|---|
class |
GenArrayType
Type of multi-dimensional arrays.
|
class |
LangObjType
A wrapper around a class type.
|
class |
SeqSizeType
This matches a sequences of a specific length.
|
Modifier and Type | Method and Description |
---|---|
ObjectType |
LangObjType.getConstructorType() |
Modifier and Type | Class and Description |
---|---|
class |
LazyType
The type of lazy values - i.e.
|
class |
MappedArrayType
An array type where elements are copied from a sequence.
|
class |
SingletonType |
Modifier and Type | Field and Description |
---|---|
protected ObjectType |
MappedArrayType.implementationType |
Modifier and Type | Method and Description |
---|---|
ObjectType |
CompileBuildObject.getResultType() |
Modifier and Type | Method and Description |
---|---|
static MethodProc |
ClassMethods.apply(ObjectType dtype,
java.lang.String mname,
char mode,
Language language)
Find methods.
|
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) |
protected void |
CompileBuildObject.init(ApplyExp exp,
InlineCalls visitor,
Type required,
ObjectType ctype,
ClassType caller) |
static Member |
SlotGet.lookupMember(ObjectType clas,
java.lang.String name,
ClassType caller)
Get a named property - field or member class or 'get' accessor method.
|
static Member |
SlotSet.lookupMember(ObjectType clas,
java.lang.String name,
ClassType caller)
Get a setter property - field or 'set' accessor method.
|
protected MethodProc |
Invoke.lookupMethods(ObjectType dtype,
java.lang.Object name) |
static CompileBuildObject |
CompileBuildObject.make(ApplyExp exp,
InlineCalls visitor,
Type required,
ObjectType ctype,
ClassType caller) |
boolean |
CompileBuildObject.resultTypeExtends(ObjectType other) |
static Expression |
CompileInvoke.validateNamedInvoke(ApplyExp exp,
InlineCalls visitor,
ObjectType type,
java.lang.String name,
PrimProcedure[] methods,
Invoke iproc,
Type required) |
Modifier and Type | Class and Description |
---|---|
class |
AttributeType
Matches an attribute name pattern.
|
class |
ElementType |
class |
NodeType
A SeqPosition used to represent a node in (usually) a TreeList.
|
class |
ProcessingInstructionType |