Constructor and Description |
---|
defgroup() |
Modifier and Type | Method and Description |
---|---|
Expression |
rewriteForm(Pair form,
Translator tr) |
boolean |
scanForDefinitions(Pair st,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
Check if a statement is a definition, for initial pass.
|
public boolean scanForDefinitions(Pair st, java.util.Vector forms, ScopeExp defs, Translator tr)
Syntax
scanForDefinitions
in class Syntax
st
- the statement to checkforms
- where to append the (possibly-modified) statementdefs
- where to add Declarations for found definitionstr
- the compilation statepublic Expression rewriteForm(Pair form, Translator tr)
rewriteForm
in class Syntax