Package gnu.kawa.lispexpr
Class DefineNamespace
java.lang.Object
kawa.lang.Syntax
gnu.kawa.lispexpr.DefineNamespace
- All Implemented Interfaces:
gnu.kawa.format.Printable
,Named
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefineNamespace
static final DefineNamespace
static final DefineNamespace
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrewriteForm
(Pair form, Translator tr) boolean
scanForDefinitions
(Pair st, ScopeExp defs, Translator tr) Check if a statement is a definition, for initial pass.
-
Field Details
-
define_namespace
-
define_private_namespace
-
define_xml_namespace
-
XML_NAMESPACE_MAGIC
- See Also:
-
-
Constructor Details
-
DefineNamespace
public DefineNamespace()
-
-
Method Details
-
scanForDefinitions
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 classSyntax
- Parameters:
st
- the statement to checkdefs
- where to add Declarations for found definitionstr
- the compilation state- Returns:
- true on success
-
rewriteForm
- Overrides:
rewriteForm
in classSyntax
-