| java.lang.Object kawa.lang.Syntax kawa.lang.Lambda
Lambda | public class Lambda extends Syntax (Code) | | The Syntax transformer that re-writes the lambda builtin.
author: Per Bothner |
Method Summary | |
public void | print(Consumer out) | public Expression | rewrite(Object obj, Translator tr) | public void | rewrite(LambdaExp lexp, Object formals, Object body, Translator tr, TemplateScope templateScopeRest) Higher-level constructor, that does the re-writing. | public Object | rewriteAttrs(LambdaExp lexp, Object body, Translator tr) | public void | rewriteBody(LambdaExp lexp, Object body, Translator tr) | public Expression | rewriteForm(Pair form, Translator tr) | public void | rewriteFormals(LambdaExp lexp, Object formals, Translator tr, TemplateScope templateScopeRest) | public void | setKeywords(Object optional, Object rest, Object key) | public Object | skipAttrs(LambdaExp lexp, Object body, Translator tr) |
rewrite | public void rewrite(LambdaExp lexp, Object formals, Object body, Translator tr, TemplateScope templateScopeRest)(Code) | | Higher-level constructor, that does the re-writing.
Parameters: formals - the formal parameter list (or symbol) Parameters: body - the body of the procedure Parameters: tr - the (Scheme) Translator |
|
|