gnu.kawa.lispexpr
Class DefineNamespace
java.lang.Object
kawa.lang.Syntax
gnu.kawa.lispexpr.DefineNamespace
- All Implemented Interfaces:
- Named, Printable
public class DefineNamespace
- extends Syntax
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
define_namespace
public static final DefineNamespace define_namespace
define_private_namespace
public static final DefineNamespace define_private_namespace
define_xml_namespace
public static final DefineNamespace define_xml_namespace
XML_NAMESPACE_MAGIC
public static final java.lang.String XML_NAMESPACE_MAGIC
- See Also:
- Constant Field Values
DefineNamespace
public DefineNamespace()
scanForDefinitions
public boolean scanForDefinitions(Pair st,
java.util.Vector forms,
ScopeExp defs,
Translator tr)
- Description copied from class:
Syntax
- Check if a statement is a definition, for initial pass.
Semi-deprecated - should convert calls to use scanForm.
- Overrides:
scanForDefinitions
in class Syntax
- Parameters:
st
- the statement to checkforms
- where to append the (possibly-modified) statementdefs
- where to add Declarations for found definitionstr
- the compilation state
- Returns:
- true on success
rewriteForm
public Expression rewriteForm(Pair form,
Translator tr)
- Overrides:
rewriteForm
in class Syntax