Synopsis - Synopsis.Parsers.Python.SXRGenerator.SXRGenerator

module Synopsis.Parsers.Python.SXRGenerator
class SXRGenerator
File: ../Synopsis/Parsers/Python/SXRGenerator.py
Attributes Summary:
handlers
col
lineno
parameters
scopes
Methods Summary:
__init__(self)
process_file(self, scope, sourcefile, sxr)
handle(self, ptree)
default_handler(self, ptree)
next_token(self)
Return the next visible token.
handle_token(self, item = None)
handle_name_as_xref(self, xref, name, from_ = None, type = None)
handle_tokens(self, ptree)
handle_end_marker(self, nodes)
handle_newline(self, nodes)
handle_indent(self, indent)
handle_dedent(self, dedent)
handle_string(self, content)
handle_function(self, nodes)
handle_parameters(self, nodes)
handle_class(self, nodes)
handle_name(self, content)
handle_expr_stmt(self, nodes)
handle_dotted_name(self, dname, rest)
handle_op(self, nodes)
handle_power(self, content)
handle_encoding_decl(self, nodes)
handle_import_as_names(self, nodes)
handle_dotted_as_names(self, nodes)
handle_import_from(self, nodes)
handle_import_name(self, nodes)
handle_import(self, nodes)
handle_decorator(self, nodes)
print_token(self, t)
print_newline(self)
Methods Details:
next_token(self)
Return the next visible token. Process tokens that are not part of the parse tree silently.
Generated on Thu Apr 16 16:27:02 2009 by
synopsis (version devel)