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 |
Modifier and Type | Field and Description |
---|---|
static java.lang.ThreadLocal<InlineCalls> |
InlineCalls.currentVisitor |
Modifier and Type | Method and Description |
---|---|
static void |
VarValueTracker.forkPop(InlineCalls visitor) |
static void |
VarValueTracker.forkPush(InlineCalls visitor)
Called when starting a new fork, for example a new
IfExp . |
Expression |
ApplyExp.inlineIfConstant(Procedure proc,
InlineCalls visitor) |
Expression |
ReferenceExp.validateApply(ApplyExp exp,
InlineCalls visitor,
Type required,
Declaration decl) |
Expression |
Expression.validateApply(ApplyExp exp,
InlineCalls visitor,
Type required,
Declaration decl)
Apply inlining transformations on a given ApplyExp.
|
Expression |
LambdaExp.validateApply(ApplyExp exp,
InlineCalls visitor,
Type required,
Declaration decl) |
Expression |
QuoteExp.validateApply(ApplyExp exp,
InlineCalls visitor,
Type required,
Declaration decl) |
void |
ApplyExp.visitArgs(InlineCalls visitor) |
void |
ApplyExp.visitArgs(InlineCalls visitor,
LambdaExp lexp) |
Constructor and Description |
---|
VarValueTracker(InlineCalls visitor) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CompileArith.appropriateIntConstant(Expression[] args,
int iarg,
InlineCalls visitor) |
static boolean |
CompileArith.appropriateLongConstant(Expression[] args,
int iarg,
InlineCalls visitor) |
static Expression |
CompileArith.pairwise(Procedure proc,
Expression rproc,
Expression[] args,
InlineCalls visitor)
Convert (PROC A B C) to (PROC (PROC A B) C) etc.
|
Expression |
CurryExp.validateApply(ApplyExp exp,
InlineCalls visitor,
Type required,
Declaration decl) |
static Expression |
CompileArith.validateApplyAdd(AddOp proc,
ApplyExp exp,
InlineCalls visitor) |
static Expression |
CompileMisc.validateApplyAppendValues(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileArith.validateApplyArithOp(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyCallCC(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyConstantFunction0(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyConvert(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileArith.validateApplyDiv(DivideOp proc,
ApplyExp exp,
InlineCalls visitor) |
static Expression |
CompileMisc.validateApplyFormat(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc)
Validate-apply handling for "format".
|
static Expression |
CompileMisc.validateApplyMakeDynamic(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyMakeProcedure(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyMakePromise(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileArith.validateApplyNot(ApplyExp exp,
int kind,
InlineCalls visitor) |
static Expression |
CompileProcess.validateApplyRunProcess(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc)
Type-check and optimize RunProcess (i.e.
|
static Expression |
CompileMisc.validateApplySimpleBoolean(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompilationHelpers.validateApplyToArgs(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure applyToArgs) |
static Expression |
CompileMisc.validateApplyValuesMap(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyWithExceptionHandler(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileValues.validateApplyWithValues(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileValues.validateCallWithValues(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileNamedPart.validateGetNamedInstancePart(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileNamedPart.validateGetNamedPart(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompilationHelpers.validateIsEqv(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileNamedPart.validateNamedPart(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileNamedPart.validateNamedPartSetter(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileNamedPart.validateSetNamedInstancePart(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileNamedPart.validateSetNamedPart(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompilationHelpers.validateSetter(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
Modifier and Type | Method and Description |
---|---|
boolean |
LangObjType.SimpleVectorBuilder.useBuilder(int numCode,
InlineCalls visitor) |
Modifier and Type | Method and Description |
---|---|
protected void |
CompileBuildObject.init(ApplyExp exp,
InlineCalls visitor,
Type required,
ObjectType ctype,
ClassType caller) |
static ApplyExp |
CompileReflect.inlineClassName(ApplyExp exp,
int carg,
InlineCalls walker)
Resolve class specifier to ClassType at inline time.
|
static CompileBuildObject |
CompileBuildObject.make(ApplyExp exp,
InlineCalls visitor,
Type required,
ObjectType ctype,
ClassType caller) |
boolean |
CompileBuildObject.useBuilder(int numCode,
InlineCalls visitor)
Check if we should use the builder rather than the default.
|
static Expression |
MakeAnnotation.validate(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileReflect.validateApplyInstanceOf(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileInvoke.validateApplyInvoke(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileReflect.validateApplySlotGet(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileReflect.validateApplySlotSet(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileReflect.validateApplyTypeSwitch(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileArrays.validateArrayGet(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileArrays.validateArrayLength(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileArrays.validateArrayNew(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileArrays.validateArraySet(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileInvoke.validateNamedInvoke(ApplyExp exp,
InlineCalls visitor,
ObjectType type,
java.lang.String name,
PrimProcedure[] methods,
Invoke iproc,
Type required) |
static Expression |
CompileReflect.validateThrow(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
Modifier and Type | Method and Description |
---|---|
static Expression |
CompileXmlFunctions.validateApplyMakeUnescapedData(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileXmlFunctions.validateApplyTreeScanner(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
Modifier and Type | Method and Description |
---|---|
static Expression |
CompileMisc.validateApplyCastableAs(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyCastAs(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyOrderedMap(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyRelativeStep(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc) |
static Expression |
CompileMisc.validateApplyValuesFilter(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc)
Inliner for the
ValuesFilter procedure. |
static Expression |
CompileMisc.validateArithOp(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc)
Inliner for the ArithOp procedure.
|
static Expression |
CompileMisc.validateBooleanValue(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc)
Inliner for the BooleanValue procedure.
|
static Expression |
CompileMisc.validateCompare(ApplyExp exp,
InlineCalls visitor,
Type required,
Procedure proc)
Inliner for the Compare procedure.
|