Uses of Class
gnu.expr.ApplyExp
-
Packages that use ApplyExp Package Description gnu.expr SupportsExpression
, and various related classes need to compile programming languages.gnu.kawa.functions gnu.kawa.reflect Contains classes to use reflection.gnu.kawa.xml gnu.kawa.xslt gnu.xquery.lang gnu.xquery.util kawa.lang -
-
Uses of ApplyExp in gnu.expr
Fields in gnu.expr declared as ApplyExp Modifier and Type Field Description ApplyExp
Declaration. firstCall
List of ApplyExp where this declaration is the function called.ApplyExp
ApplyExp. nextCall
The next ApplyExp in ((ReferenceExp)func).binding.firstCall list.Methods in gnu.expr that return ApplyExp Modifier and Type Method Description static ApplyExp
Compilation. makeCoercion(Expression value, Type type)
Convenience method to make an Expression that coerces a value.static ApplyExp
Compilation. makeCoercion(Expression value, Expression type)
Convenience method to make an Expression that coerces a value.ApplyExp
ApplyExp. setFuncArgs(Expression func, Expression[] args)
ApplyExp
ApplyExp. setFuncArgs(Procedure proc, Expression[] args)
Methods in gnu.expr with parameters of type ApplyExp Modifier and Type Method Description void
Declaration. addCaller(ApplyExp exp)
Add a call to the list headed byfirstCall
.void
ApplyExp. adjustSplice(ApplyExp src, int delta)
Copy over splice and keyword start indexes.boolean
PrimProcedure. canCompile(ApplyExp exp)
static void
ApplyExp. compile(ApplyExp exp, Compilation comp, Target target)
void
Inlineable. compile(ApplyExp exp, Compilation comp, Target target)
boolean
PrimProcedure. compile(ApplyExp exp, Compilation comp, Target target)
static void
ApplyExp. compileArgsToContext(ApplyExp exp, Method setupMethod, Compilation comp)
static void
PrimProcedure. compileRestArg(Type arg_type, ApplyExp exp, int startArg, int i, Compilation comp)
static Expression
InlineCalls. inlineCall(LambdaExp lexp, ApplyExp aexp, boolean makeCopy)
Attempt to inline a function call.Expression
InlineCalls. maybeInline(ApplyExp exp, Type required, Procedure proc)
void
Declaration. noteValueFromApply(ApplyExp app, int index)
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)
Expression
ReferenceExp. validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl)
protected Expression
ANormalize. visitApplyExp(ApplyExp exp, gnu.expr.ANormalize.Context context)
protected Expression
ChainLambdas. visitApplyExp(ApplyExp exp, ScopeExp scope)
protected R
ExpVisitor. visitApplyExp(ApplyExp exp, D d)
protected Expression
FindCapturedVars. visitApplyExp(ApplyExp exp, Void ignored)
protected Expression
FindTailCalls. visitApplyExp(ApplyExp exp, Expression returnContinuation)
protected Expression
InlineCalls. visitApplyExp(ApplyExp exp, Type required)
protected Expression
PushApply. visitApplyExp(ApplyExp exp, Void ignored)
Expression
InlineCalls. visitApplyOnly(ApplyExp exp, Type required)
Visit an ApplyExp assuming function and arguments have been visited. -
Uses of ApplyExp in gnu.kawa.functions
Subclasses of ApplyExp in gnu.kawa.functions Modifier and Type Class Description class
CurryExp
A specialized ApplyExp class for curried function calls.Methods in gnu.kawa.functions with parameters of type ApplyExp Modifier and Type Method Description void
AppendValues. compile(ApplyExp exp, Compilation comp, Target target)
void
CallCC. compile(ApplyExp exp, Compilation comp, Target target)
void
CompileArith. compile(ApplyExp exp, Compilation comp, Target target)
void
GetModuleClass. compile(ApplyExp exp, Compilation comp, Target target)
void
MakeList. compile(ApplyExp exp, Compilation comp, Target target)
void
ValuesMap. 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 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)
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)
-
Uses of ApplyExp in gnu.kawa.reflect
Methods in gnu.kawa.reflect that return ApplyExp Modifier and Type Method Description static ApplyExp
CompileReflect. inlineClassName(ApplyExp exp, int carg, InlineCalls walker)
Resolve class specifier to ClassType at inline time.static ApplyExp
MakeAnnotation. makeAnnotationMaker(Expression classRef)
static ApplyExp
SlotGet. makeGetField(Expression value, String fieldName)
Convenience method to make an Expression that gets the value of a field.static ApplyExp
Invoke. makeInvokeStatic(ClassType type, String name, Expression... args)
Return an ApplyExp that will call a method with given arguments.Methods in gnu.kawa.reflect with parameters of type ApplyExp Modifier and Type Method Description void
InstanceOf. compile(ApplyExp exp, Compilation comp, Target target)
void
SlotGet. compile(ApplyExp exp, Compilation comp, Target target)
void
SlotSet. compile(ApplyExp exp, Compilation comp, Target target)
void
StaticGet. compile(ApplyExp exp, Compilation comp, Target target)
void
StaticSet. compile(ApplyExp exp, Compilation comp, Target target)
void
Throw. compile(ApplyExp exp, Compilation comp, Target target)
void
TypeSwitch. 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)
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)
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, String name, PrimProcedure[] methods, Invoke iproc, Type required)
static Expression
CompileReflect. validateThrow(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
-
Uses of ApplyExp in gnu.kawa.xml
Methods in gnu.kawa.xml with parameters of type ApplyExp Modifier and Type Method Description void
CoerceNodes. compile(ApplyExp exp, Compilation comp, Target target)
void
MakeText. 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)
void
DocumentConstructor. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
void
MakeAttribute. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
void
MakeElement. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
void
MakeProcInst. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
void
MakeText. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
void
MakeWithBaseUri. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
abstract void
NodeConstructor. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
static Symbol
MakeElement. getTagName(ApplyExp exp)
static Expression
CompileXmlFunctions. validateApplyMakeUnescapedData(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
static Expression
CompileXmlFunctions. validateApplyTreeScanner(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
-
Uses of ApplyExp in gnu.kawa.xslt
Methods in gnu.kawa.xslt with parameters of type ApplyExp Modifier and Type Method Description void
ApplyTemplates. compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
-
Uses of ApplyExp in gnu.xquery.lang
Methods in gnu.xquery.lang with parameters of type ApplyExp Modifier and Type Method Description protected Expression
XQResolveNames. visitApplyExp(ApplyExp exp, Void ignored)
protected Expression
XQResolveNames. visitReferenceExp(ReferenceExp exp, ApplyExp call)
-
Uses of ApplyExp in gnu.xquery.util
Methods in gnu.xquery.util with parameters of type ApplyExp Modifier and Type Method Description void
CastableAs. compile(ApplyExp exp, Compilation comp, Target target)
void
CastAs. compile(ApplyExp exp, Compilation comp, Target target)
void
OrderedMap. 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)
static void
CompileMisc. compileOrderedMap(ApplyExp exp, Compilation comp, Target target, Procedure proc)
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 theValuesFilter
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. -
Uses of ApplyExp in kawa.lang
Methods in kawa.lang with parameters of type ApplyExp Modifier and Type Method Description void
GetFieldProc. compile(ApplyExp exp, Compilation comp, Target target)
void
SetFieldProc. compile(ApplyExp exp, Compilation comp, Target target)
-