Uses of Class
gnu.expr.LambdaExp
Packages that use LambdaExp
Package
Description
Supports
Expression,
and various related classes need to compile programming languages.-
Uses of LambdaExp in gnu.expr
Modifier and TypeClassDescriptionclassclassClass used to implement Scheme top-level environments.classAn expression that evaluated to an instance of an anonymous class.Modifier and TypeFieldDescriptionClassExp.clinitMethodAn artificial method named"$clinit$"for evaluating static initializations.Compilation.curLambdaprotected LambdaExpExpVisitor.currentLambdaLambdaExp.firstChildClassExp.initMethodAn artificial method named"$finit$"for evaluating non-static initializations.LambdaExp.inlineHomeIf this lambda gets inlined this is the containing lambda.LambdaExp.nextSiblingModifier and TypeMethodDescriptionCompilation.currentLambda()ScopeExp.currentLambda()LambdaExp.getCaller()For an INLINE_ONLY function, return the function it gets inlined in.final LambdaExpExpVisitor.getCurrentLambda()Declaration.getLambdaValue()LambdaExp.getOwningLambda()Compilation.loopStart()Start a new loop.LambdaExp.outerLambda()LambdaExp.outerLambdaNotInline()Return the closest outer non-inlined LambdaExp.LambdaExp.outerLambdaOrCaller()Modifier and TypeMethodDescriptionstatic voidCheckedTarget.emitCheckedCoerce(Compilation comp, LambdaExp proc, int argno, Type stackType, Type type, Variable argValue) static voidProcInitializer.emitLoadModuleMethod(LambdaExp proc, Compilation comp) Create and load a CompiledProc for the given procedure.Compilation.generateCheckMethod(LambdaExp lexp, LambdaExp parent) voidCompilation.generateCheckMethods(LambdaExp parent) final voidCompilation.generateConstructor(ClassType clas, LambdaExp lexp) final voidCompilation.generateConstructor(LambdaExp lexp) static final MethodCompilation.getConstructor(ClassType clas, LambdaExp lexp) final MethodCompilation.getConstructor(LambdaExp lexp) static TargetCheckedTarget.getInstance(Type type, LambdaExp proc, int argno) static ExpressionInlineCalls.inlineCall(LambdaExp lexp, ApplyExp aexp, boolean makeCopy) Attempt to inline a function call.Compilation.loopRepeat(LambdaExp loop, Expression... exps) Recurse to next iteration of specified loop.static voidLambdaExp.maybeSetReturnType(LambdaExp lexp, Type type) voidfinal voidLambdaExp.setInlineOnly(Expression returnContinuation, LambdaExp caller) Note this function is inlined in a give context.voidApplyExp.visitArgs(InlineCalls visitor, LambdaExp lexp) voidExpVisitor.visitDefaultArgs(LambdaExp exp, D d) voidFindCapturedVars.visitDefaultArgs(LambdaExp exp, Void ignored) voidFindTailCalls.visitDefaultArgs(LambdaExp exp, Expression d) voidInlineCalls.visitDefaultArgs(LambdaExp exp, Type required) protected ExpressionANormalize.visitLambdaExp(LambdaExp exp, gnu.expr.ANormalize.Context context) protected ExpressionChainLambdas.visitLambdaExp(LambdaExp exp, ScopeExp scope) protected RExpVisitor.visitLambdaExp(LambdaExp exp, D d) protected ExpressionFindCapturedVars.visitLambdaExp(LambdaExp exp, Void ignored) protected ExpressionFindTailCalls.visitLambdaExp(LambdaExp exp, Expression returnContinuation) protected ExpressionInlineCalls.visitLambdaExp(LambdaExp exp, Type required) protected ExpressionPushApply.visitLambdaExp(LambdaExp exp, Void ignored) ModifierConstructorDescriptionCatchClause(LambdaExp lexp) "Convert" aLambdaExpto aCatchClause.CheckedTarget(Type type, LambdaExp proc, int argno) Closure(LambdaExp lexp, CallContext ctx) PrimProcedure(Method method, LambdaExp source) ProcInitializer(LambdaExp lexp, Compilation comp, Field field) -
Uses of LambdaExp in gnu.kawa.functions
Methods in gnu.kawa.functions with parameters of type LambdaExpModifier and TypeMethodDescriptionstatic voidValuesMap.compileInlined(LambdaExp lambda, Expression vals, int startCounter, Method matchesMethod, Compilation comp, Target target) -
Uses of LambdaExp in kawa.lang
Modifier and TypeMethodDescriptionprotected DeclarationLambda.addParam(Symbol name, TemplateScope templateScope, LambdaExp lexp, Translator tr) Object[]Lambda.parsePatternCar(Pair patList, TemplateScope templateScope, LambdaExp lexp, Translator comp) voidTranslator.pushScanContext(LambdaExp lambda) voidLambda.rewrite(LambdaExp lexp, Object formals, Object body, Translator tr, TemplateScope templateScopeRest) Higher-level constructor, that does the re-writing.Lambda.rewriteAttrs(LambdaExp lexp, Object body, Translator tr) voidLambda.rewriteBody(LambdaExp lexp, Object body, Translator tr) voidLambda.rewriteFormals(LambdaExp lexp, Object formals, Translator tr, TemplateScope templateScopeRest) Lambda.skipAttrs(LambdaExp lexp, Object body, Translator tr)