kawa.standard
Class define_alias
- Named, Printable
public class define_alias
rewrite
public Expression rewrite(Object obj,
Translator tr) Re-write an expression that is an "application" of this Syntax object.
- rewrite in interface Syntax
obj - the arguments to this "application" (i.e. the cdr of
the macro/builtin invokation)tr - the Translator that provides context
- the re-written expression
scanForDefinitions
public boolean scanForDefinitions(Pair st,
java.util.Vector forms,
ScopeExp defs,
Translator tr)Check if a statement is a definition, for initial pass.
Semi-deprecated - should convert calls to use scanForm.
- scanForDefinitions in interface Syntax
st - the statement to checkforms - where to append the (possibly-modified) statementdefs - where to add Declarations for found definitionstr - the compilation state