gnu.commonlisp.lang

Class defun

Implemented Interfaces:
Named, Printable

public class defun
extends Syntax
implements Printable

The Syntax transformer that re-writes the `defun' ELisp builtin.

Constructor Summary

defun(Lambda lambdaSyntax)

Method Summary

Expression
rewriteForm(Pair form, Translator tr)
boolean
scanForDefinitions(Pair st, java.util.Vector forms, ScopeExp defs, Translator tr)

Methods inherited from class kawa.lang.Syntax

getName, getSymbol, print, rewrite, rewriteForm, rewriteForm, scanForDefinitions, scanForm, setName, setName

Constructor Details

defun

public defun(Lambda lambdaSyntax)

Method Details

rewriteForm

public Expression rewriteForm(Pair form,
                              Translator tr)
Overrides:
rewriteForm in interface Syntax

scanForDefinitions

public boolean scanForDefinitions(Pair st,
                                  java.util.Vector forms,
                                  ScopeExp defs,
                                  Translator tr)
Overrides:
scanForDefinitions in interface Syntax