beta.xbrl.xule.Assertion

A beta.xbrl.xule.Assertion class represents a top-level assertion in the XULE parse tree.

Base class: beta.xbrl.xule.Expression

class beta.xbrl.xule.Assertion

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

beta.xbrl.xule.Assertion.name

Returns the name of this assertion.

beta.xbrl.xule.Assertion.output_attributes

Returns an iterator of beta.xbrl.xule.OutputAttributeDeclaration objects that represent the output attributes of this assertion.

beta.xbrl.xule.Assertion.satisfied_type

Returns a beta.xbrl.xule.AssertionSatisfiedType enumaration object that represents the type of this assertion.

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__