beta.xbrl.xule.SourceLocation

A beta.xbrl.xule.SourceLocation class represents a position in the XULE source file or buffer.

class beta.xbrl.xule.SourceLocation

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

Attributes

beta.xbrl.xule.SourceLocation.end

Returns the offset in the text buffer pointing to the end of an expression or None if this information is not available.

beta.xbrl.xule.SourceLocation.length

Returns the length in the text buffer of an expression or None if this information is not available.

beta.xbrl.xule.SourceLocation.line

Returns the line number of an expression or None if this information is not available.

beta.xbrl.xule.SourceLocation.start

Returns the offset in the text buffer pointing to the start of an expression or None if this information is not available.

beta.xbrl.xule.SourceLocation.uri

Returns the URI of the original XULE source file or None if this information is not available.

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__