|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkawa.lang.Syntax
kawa.standard.define_alias
public class define_alias
| Field Summary | |
|---|---|
static define_alias |
define_alias
|
| Constructor Summary | |
|---|---|
define_alias()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class kawa.lang.Syntax |
|---|
getName, getSymbol, print, rewriteForm, rewriteForm, scanForm, setName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final define_alias define_alias
| Constructor Detail |
|---|
public define_alias()
| Method Detail |
|---|
public boolean scanForDefinitions(Pair st,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
Syntax
scanForDefinitions in class Syntaxst - the statement to checkforms - where to append the (possibly-modified) statementdefs - where to add Declarations for found definitionstr - the compilation state
public Expression rewrite(java.lang.Object obj,
Translator tr)
Syntax
rewrite in class Syntaxobj - the arguments to this "application" (i.e. the cdr of
the macro/builtin invokation)tr - the Translator that provides context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||