Modifier and Type | Field and Description |
---|---|
static DefineNamespace |
define_namespace |
static DefineNamespace |
define_private_namespace |
static DefineNamespace |
define_xml_namespace |
static java.lang.String |
XML_NAMESPACE_MAGIC |
Constructor and Description |
---|
DefineNamespace() |
Modifier and Type | Method and 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.
|
public static final DefineNamespace define_namespace
public static final DefineNamespace define_private_namespace
public static final DefineNamespace define_xml_namespace
public static final java.lang.String XML_NAMESPACE_MAGIC
public boolean scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
Syntax
scanForDefinitions
in class Syntax
st
- the statement to checkdefs
- where to add Declarations for found definitionstr
- the compilation statepublic Expression rewriteForm(Pair form, Translator tr)
rewriteForm
in class Syntax