Package gnu.kawa.lispexpr
Class DefineNamespace
- java.lang.Object
-
- kawa.lang.Syntax
-
- gnu.kawa.lispexpr.DefineNamespace
-
-
Field Summary
Fields Modifier and Type Field Description static DefineNamespace
define_namespace
static DefineNamespace
define_private_namespace
static DefineNamespace
define_xml_namespace
static String
XML_NAMESPACE_MAGIC
-
Constructor Summary
Constructors Constructor Description DefineNamespace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
rewriteForm(Pair form, Translator tr)
boolean
scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
Check if a statement is a definition, for initial pass.
-
-
-
Field Detail
-
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 String XML_NAMESPACE_MAGIC
- See Also:
- Constant Field Values
-
-
Method Detail
-
scanForDefinitions
public boolean scanForDefinitions(Pair st, 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 classSyntax
- Parameters:
st
- the statement to checkdefs
- 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 classSyntax
-
-