| 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.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.
|
| gnu.xquery.util | |
| kawa.lang |
Core Kawa classes for Scheme and Lisp compile-time.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CheckedTarget
Same as StackTarget, but catch ClassCastException.
|
class |
ConditionalTarget
This is the Target of a boolean expression, in a conditional context.
|
class |
ConsumerTarget
A Target which is some variable that implements gnu.lists.Consumer.
|
class |
IgnoreTarget |
class |
StackTarget |
| Modifier and Type | Field and Description |
|---|---|
static Target |
Target.Ignore
A Target which means that the result is ignored.
|
static Target |
Target.pushObject
A Target which means to push an Object on the JVM stack.
|
| Modifier and Type | Method and Description |
|---|---|
static Target |
CheckedTarget.getInstance (Declaration decl) |
static Target |
StackTarget.getInstance (Type type) |
static Target |
CheckedTarget.getInstance (Type type) |
static Target |
CheckedTarget.getInstance (Type type,
LambdaExp proc,
int argno) |
static Target |
CheckedTarget.getInstance (Type type,
java.lang.String procname,
int argno) |
static Target |
StackTarget.getTruncatingInstance (Type type) |
static Target |
ConsumerTarget.makeContextTarget (Compilation comp,
Type type)
Make a Target that uses the current CallContext's current Consumer.
|
static Target |
Target.pushValue (Type type)
Return a Target to push a value of specified type on JCM stack.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PrimProcedure.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
Inlineable.compile (ApplyExp exp,
Compilation comp,
Target target) |
static void |
ApplyExp.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
ReferenceExp.compile (Compilation comp,
Target target) |
void |
BeginExp.compile (Compilation comp,
Target target) |
void |
ThisExp.compile (Compilation comp,
Target target) |
void |
ObjectExp.compile (Compilation comp,
Target target) |
abstract void |
Expression.compile (Compilation comp,
Target target) |
void |
SynchronizedExp.compile (Compilation comp,
Target target) |
void |
CatchClause.compile (Compilation comp,
Target target) |
void |
TryExp.compile (Compilation comp,
Target target) |
void |
SetExp.compile (Compilation comp,
Target target) |
void |
LambdaExp.compile (Compilation comp,
Target target) |
void |
ClassExp.compile (Compilation comp,
Target target) |
void |
QuoteExp.compile (Compilation comp,
Target target) |
void |
CaseExp.compile (Compilation comp,
Target target) |
void |
IfExp.compile (Compilation comp,
Target target) |
void |
LetExp.compile (Compilation comp,
Target target) |
void |
ApplyExp.compile (Compilation comp,
Target target) |
void |
ErrorExp.compile (Compilation comp,
Target target) |
void |
BlockExp.compile (Compilation comp,
Target target) |
void |
LangExp.compile (Compilation comp,
Target target) |
void |
ExitExp.compile (Compilation comp,
Target target) |
void |
FluidLetExp.compile (Compilation comp,
Target target) |
static void |
IfExp.compile (Expression test,
Expression then_clause,
Expression else_clause,
Compilation comp,
Target target) |
void |
Compilation.compileConstant (java.lang.Object value,
Target target) |
static void |
PrimProcedure.compileInvoke (Compilation comp,
Method method,
Target target,
boolean isTailCall,
int op_code,
Type returnType,
boolean doFixUnsigned)
Emit the actual invoke operation, after arguments have been pushed.
|
void |
ClassExp.compilePushClass (Compilation comp,
Target target) |
static void |
ConsumerTarget.compileUsingConsumer (Expression exp,
Compilation comp,
Target target)
Compile an expression using a temporary Consumer, if needed.
|
static void |
ConsumerTarget.compileUsingConsumer (Expression exp,
Compilation comp,
Target target,
Method makeMethod,
Method resultMethod) |
static void |
ConsumerTarget.compileUsingValues (Expression exp,
Compilation comp,
Target target) |
void |
Expression.compileWithPosition (Compilation comp,
Target target)
Same as compile, but emit line number beforehard.
|
void |
Expression.compileWithPosition (Compilation comp,
Target target,
Expression position)
Same as 2-argument compileWithPosition,
but use some other Expression's line number.
|
void |
TypeValue.emitIsInstance (Variable incoming,
Compilation comp,
Target target)
Emit code for incoming instanceof this_type.
|
void |
Declaration.load (AccessExp access,
int flags,
Compilation comp,
Target target) |
| Modifier and Type | Method and Description |
|---|---|
void |
CompileArith.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
MakeList.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
GetModuleClass.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
ValuesMap.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
AppendValues.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
CallCC.compile (ApplyExp exp,
Compilation comp,
Target target) |
static void |
CompileMisc.compileCallCC (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
static boolean |
CompileMisc.compileConvert (ApplyExp exp,
Compilation comp,
Target target,
Procedure procedure) |
static boolean |
CompileMisc.compileEq (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
void |
CompileArith.compileGeneric (ApplyExp exp,
Compilation comp,
Target target) |
static void |
ValuesMap.compileInlined (LambdaExp lambda,
Expression vals,
int startCounter,
Method matchesMethod,
Compilation comp,
Target target) |
static boolean |
CompileMisc.compileMakeDynamic (ApplyExp exp,
Compilation comp,
Target target,
Procedure procedure) |
static boolean |
CompileMisc.compileNot (ApplyExp exp,
Compilation comp,
Target target,
Procedure procedure) |
static boolean |
CompileMisc.compileNumberCompare (ApplyExp exp,
Compilation comp,
Target target,
Procedure procedure) |
static boolean |
CompileMisc.compileNumPredicate (ApplyExp exp,
Compilation comp,
Target target,
Procedure procedure) |
| Modifier and Type | Method and Description |
|---|---|
void |
LangObjType.emitIsInstance (Variable incoming,
Compilation comp,
Target target) |
void |
LangPrimType.emitIsInstance (Variable incoming,
Compilation comp,
Target target) |
void |
GenArrayType.emitIsInstance (Variable incoming,
Compilation comp,
Target target) |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeSwitch.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
SlotGet.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
Throw.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
InstanceOf.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
SlotSet.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
StaticSet.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
StaticGet.compile (ApplyExp exp,
Compilation comp,
Target target) |
static boolean |
CompileArrays.compileGet (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
static boolean |
CompileArrays.compileLength (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
static boolean |
CompileArrays.compileMake (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
static boolean |
CompileArrays.compileNew (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
static boolean |
CompileArrays.compileSet (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
static void |
InstanceOf.emitIsInstance (TypeValue type,
Variable incoming,
Compilation comp,
Target target) |
void |
OccurrenceType.emitIsInstance (Variable incoming,
Compilation comp,
Target target) |
void |
MappedArrayType.emitIsInstance (Variable incoming,
Compilation comp,
Target target) |
| Modifier and Type | Method and Description |
|---|---|
void |
MakeText.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
CoerceNodes.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
NodeConstructor.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
SortNodes.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
UnionNodes.compile (ApplyExp exp,
Compilation comp,
Target target) |
static void |
NodeConstructor.compileUsingNodeTree (Expression exp,
Compilation comp,
Target target)
Compile an expression using a fresh NodeTree.
|
void |
NodeType.emitIsInstance (Variable incoming,
Compilation comp,
Target target) |
void |
XDataType.emitIsInstance (Variable incoming,
Compilation comp,
Target target) |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderedMap.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
CastableAs.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
RelativeStep.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
ValuesFilter.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
CastAs.compile (ApplyExp exp,
Compilation comp,
Target target) |
static void |
CompileMisc.compileOrderedMap (ApplyExp exp,
Compilation comp,
Target target,
Procedure proc) |
| Modifier and Type | Method and Description |
|---|---|
void |
GetFieldProc.compile (ApplyExp exp,
Compilation comp,
Target target) |
void |
SetFieldProc.compile (ApplyExp exp,
Compilation comp,
Target target) |