/usr/lib64/python2.6/compiler
NameSizeModeActions
ast.py358320644editdlrm
ast.pyc692650644editdlrm
ast.pyo692650644editdlrm
consts.py4360644editdlrm
consts.pyc6920644editdlrm
consts.pyo6920644editdlrm
future.py18930644editdlrm
future.pyc29780644editdlrm
future.pyo29780644editdlrm
misc.py17940644editdlrm
misc.pyc37550644editdlrm
misc.pyo37550644editdlrm
pyassem.py261530644editdlrm
pyassem.pyc279440644editdlrm
pyassem.pyo274850644editdlrm
pycodegen.py471010644editdlrm
pycodegen.pyc557640644editdlrm
pycodegen.pyo552890644editdlrm
symbols.py144270644editdlrm
symbols.pyc178330644editdlrm
symbols.pyo177970644editdlrm
syntax.py14440644editdlrm
syntax.pyc18840644editdlrm
syntax.pyo18840644editdlrm
transformer.py516180644editdlrm
transformer.pyc473350644editdlrm
transformer.pyo455750644editdlrm
visitor.py38960644editdlrm
visitor.pyc42150644editdlrm
visitor.pyo42150644editdlrm
__init__.py9990644editdlrm
__init__.pyc12790644editdlrm
__init__.pyo12790644editdlrm
Edit: /usr/lib64/python2.6/compiler/visitor.pyo (4215B)
Ńņ «gc@s[ddklZdd d„ƒYZdefd„ƒYZeZddd„Zd„ZdS( i’’’’(tastt ASTVisitorcBs8eZdZdZd„Zd„Zd„Zd„ZRS(sPerforms a depth-first walk of the AST The ASTVisitor will walk the AST, performing either a preorder or postorder traversal depending on which method is called. methods: preorder(tree, visitor) postorder(tree, visitor) tree: an instance of ast.Node visitor: an instance with visitXXX methods The ASTVisitor is responsible for walking over the tree in the correct order. For each node, it checks the visitor argument for a method named 'visitNodeType' where NodeType is the name of the node's class, e.g. Class. If the method exists, it is called with the node as its sole argument. The visitor method for a particular node type can control how child nodes are visited during a preorder walk. (It can't control the order during a postorder walk, because it is called _after_ the walk has occurred.) The ASTVisitor modifies the visitor argument by adding a visit method to the visitor; this method can be used to visit a child node of arbitrary type. icCsd|_h|_dS(N(tNonetnodet_cache(tself((s(/usr/lib64/python2.6/compiler/visitor.pyt__init__"s cGs+x$|iƒD]}|i||Œq WdS(N(t getChildNodestdispatch(RRtargstchild((s(/usr/lib64/python2.6/compiler/visitor.pytdefault&s cGsw||_|i}|ii|dƒ}|djo6|i}t|id||iƒ}||i|s ;#