Ft.Xml.Xslt.Debugger.TerminalOutput

Modules

DebugCommands  cStringIO  traceback   
Processor  string  types   
boolean  sys  urllib   

Classes

class Node

Data and other non-method functions defined here:

ATTRIBUTE_NODE = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CDATA_SECTION_NODE = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
COMMENT_NODE = 8
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_FRAGMENT_NODE = 11
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_NODE = 9
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_TYPE_NODE = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ELEMENT_NODE = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ENTITY_NODE = 6
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ENTITY_REFERENCE_NODE = 5
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NOTATION_NODE = 12
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PROCESSING_INSTRUCTION_NODE = 7
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TEXT_NODE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_ANCESTOR = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_DESCENDENT = 8
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_DISCONNECTED = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_EQUIVALENT = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_FOLLOWING = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_PRECEDING = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_SAME_NODE = 32
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'xml.dom'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class TerminalOutputHandler
_getPrettyNodeName(self, node)
_printFromFile(self, fileName, lineNo, previousLines, extraLines, addMarker=1)
_printNode(self, node)
display(self, msg)
display_backTrace(self, tb)
display_breakpoints(self, bps)
display_context(self, context)
display_contextCurrentNode(self, cn)
display_contextMode(self, mode)
display_contextNode(self, node)
display_contextPosition(self, position)
display_contextSize(self, size)
display_currentCommand(self, cmd)
display_currentPosition(self, node)
display_error(self, err)
display_exception(self, etype, value, tb)
display_expressionResults(self, expr, rt)
display_help(self, args)
display_lastOutputs(self, lo)
display_lastResult(self, lr)
display_node = _printNode(self, node)
display_selectResults(self, expr, rt)
display_sheet(self, node, start=None, end=None, fileName=None)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Xslt.Debugger.TerminalOutput'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
g_fileLineCache = {}

Data

NAMESPACE_NODE = 10000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Xml/Xslt/Debugger/TerminalOutput.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Xml.Xslt.Debugger.TerminalOutput'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
g_commandPrint = {1: 'Run', 2: 'Quit', 3: 'Print', 4: 'Run to Template', 5: 'List Sheet', 6: 'Back Trace', 7: 'Step', 8: 'Next', 9: 'Test XPath', 10: 'Evaluate Expression', ...}
g_detailedHelp = {'avt': 'Evaluate a attribute value template at the current context', 'b': 'Set a break point in stylesheet', 'bt': 'Print the call stack', 'db': 'Delete a break point in stylesheet', 'eval': 'Evaluate a XPath expression at the current context', 'help': 'help', 'lb': 'List break points', 'ls': 'List Sheet\n\n ls [fileName:][start[-end]]\n\n f...e default is nine lines after the current line\n\n\n', 'lt': 'Print the current template', 'match': 'Evaluate a XPattern expression at the current context', ...}
g_help = {'avt': 'Evaluate a attribute value template at the current context', 'b': 'Set a break point in stylesheet', 'bt': 'Print the call stack', 'db': 'Delete a break point in stylesheet', 'eval': 'Evaluate a XPath expression at the current context', 'help': 'help', 'lb': 'List break points', 'ls': 'List the current stylesheet', 'lt': 'Print the current template', 'match': 'Evaluate a XPattern expression at the current context', ...}
g_stringTypes = [<type 'str'>, <type 'unicode'>]