Global Package
Inheritance Tree
Inheritance Graph
Name Index
module
Synopsis
.
Parsers
.
Python
.
SXRGenerator
class SXRGenerator
File:
../Synopsis/Parsers/Python/SXRGenerator.py
-
Attributes
debug
handlers
col
lineno
parameters
scopes
-
Methods
__init__
(
self
,
debug
=
False
)
process_file
(
self
,
scope
,
sourcefile
,
sxr
)
handle
(
self
,
ptree
)
default_handler
(
self
,
ptree
)
next_token
(
self
)
-
Return the next visible token.
More...
Return the next visible token. Process tokens that are not part of the parse tree silently.
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
)
Generated on Tue Jul 20 09:07:02 2010 by
synopsis
(version devel)