Package dap :: Package util :: Module filter :: Class ASTVisitor
[hide private]
[frames] | no frames]

Class ASTVisitor

source code

compiler.visitor.ASTVisitor --+
                              |
                             ASTVisitor

Instance Methods [hide private]
  __init__(self, scope, seq)
  visitGenExprFor(self, node)
  visitListCompFor(self, node)
  visitCompare(self, node)
  visitOr(self, node)
  eval(self, node)
Eval node.

Inherited from compiler.visitor.ASTVisitor: default, dispatch, preorder


Class Variables [hide private]

Inherited from compiler.visitor.ASTVisitor: VERBOSE


Method Details [hide private]

__init__(self, scope, seq)
(Constructor)

source code 
None
Overrides: compiler.visitor.ASTVisitor.__init__

visitGenExprFor(self, node)

source code 
None

visitListCompFor(self, node)

source code 
None

visitCompare(self, node)

source code 
None

visitOr(self, node)

source code 
None

eval(self, node)

source code 

Eval node.

This is done by converting the node to bytecode and eval()ing the bytecode in the instance scope.