include RecursiveNodeReplacer in optimised Visitor classes
authorStefan Behnel <scoder@users.berlios.de>
Fri, 12 Nov 2010 10:55:46 +0000 (11:55 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 12 Nov 2010 10:55:46 +0000 (11:55 +0100)
Cython/Compiler/Visitor.pxd

index 3affff28ade6f11ad518188b218bb65e05419f02..495cece4cc0947a30399c4c135b89410d47bf200 100644 (file)
@@ -23,3 +23,7 @@ cdef class CythonTransform(VisitorTransform):
 
 cdef class EnvTransform(CythonTransform):
     cdef public list env_stack
+
+cdef class RecursiveNodeReplacer(VisitorTransform):
+     cdef public orig_node
+     cdef public new_node