Global Package
Inheritance Tree
Inheritance Graph
Name Index
module
Synopsis
.
Parsers
.
Python
.
ASGTranslator
class ASGTranslator
File:
../Synopsis/Parsers/Python/ASGTranslator.py
Translate the Python AST into a Synopsis ASG.
Attributes Summary:
scope
file
types
attributes
any_type
docformat
documentable
name
imports
Tuple with (module, names) pairs.
Methods Summary:
__init__
(
self
,
package
,
types
,
docformat
)
Create an ASGTranslator.
process_file
(
self
,
file
)
scope_name
(
self
)
default
(
self
,
node
,
*
args
)
default_visit
(
self
,
node
,
*
args
)
visitDiscard
(
self
,
node
)
visitConst
(
self
,
node
)
visitStmt
(
self
,
node
)
visitAssign
(
self
,
node
)
visitModule
(
self
,
node
)
visitImport
(
self
,
node
)
visitFrom
(
self
,
node
)
visitAssName
(
self
,
node
)
visitAssTuple
(
self
,
node
)
visitAssAttr
(
self
,
node
)
visitGetattr
(
self
,
node
,
suffix
)
visitName
(
self
,
node
,
suffix
=
None
)
visitFunction
(
self
,
node
)
parse_parameter_list
(
self
,
node
)
visitClass
(
self
,
node
)
visitGetattr
(
self
,
node
,
suffix
=
None
)
Attributes Details:
imports
Tuple with (module, names) pairs.
Methods Details:
__init__
(
self
,
package
,
types
,
docformat
)
Create an ASGTranslator. package: enclosing package the generated modules are to be part of.
Generated on Thu Apr 16 16:27:02 2009 by
synopsis
(version devel)