Modifier and Type | Field and Description |
---|---|
static define_alias |
define_alias |
Constructor and Description |
---|
define_alias() |
Modifier and Type | Method and Description |
---|---|
Expression |
rewrite(java.lang.Object obj,
Translator tr)
Re-write an expression that is an "application" of this Syntax object.
|
boolean |
scanForDefinitions(Pair st,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
Check if a statement is a definition, for initial pass.
|
getName, getSymbol, print, rewriteForm, rewriteForm, scanForm, setName, setName
public static final define_alias define_alias
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 rewrite(java.lang.Object obj, Translator tr)
Syntax