| Constructor and Description |
|---|
defvar (boolean force) |
| 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.
|
getName, getSymbol, print, rewrite, scanForm, setName, setName clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic defvar(boolean force)
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