Modifier and Type | Field and Description |
---|---|
static define_class |
define_class |
static define_class |
define_simple_class |
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 static final define_class define_class
public static final define_class define_simple_class
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