beta.xbrl.xule.NamespaceDeclaration
¶
A beta.xbrl.xule.NamespaceDeclaration
class represents a namespace declaration in the XULE parse tree.
Base class: beta.xbrl.xule.Expression
-
class
beta.xbrl.xule.
NamespaceDeclaration
¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedError
exception.
Attributes¶
-
beta.xbrl.xule.Expression.
name
Returns the name of the expression (rule name, function name, variable name, …) or None if the expression does not have a name.
-
beta.xbrl.xule.NamespaceDeclaration.
namespace
¶ Returns the namespace uri of this namespace declaration or None in case of the absent namespace.
-
beta.xbrl.xule.NamespaceDeclaration.
prefix
¶ Returns the prefix of this namespace declaration or None if the namespace declaration specifies the default namespace.
-
beta.xbrl.xule.Expression.
source_location
Returns a
beta.xbrl.xule.SourceLocation
object that represents the location in the original XULE source file.
-
beta.xbrl.xule.Expression.
type
Returns a
beta.xbrl.xule.ExpressionType
enumeration that represents the type of the expression.
Special methods¶
__eq__, __ge__, __gt__, __le__, __lt__, __ne__