Modifier and Type | Method and Description |
---|---|
Expression |
rewriteForm(Pair form,
Translator tr) |
boolean |
scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr)
Check if a statement is a definition, for initial pass.
|
public defun(Lambda lambdaSyntax)
public boolean scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
Syntax
scanForDefinitions
in class Syntax
st
- the statement to checkdefs
- where to add Declarations for found definitionstr
- the compilation statepublic Expression rewriteForm(Pair form, Translator tr)
rewriteForm
in class Syntax