From: Vitja Makarov Date: Wed, 12 Jan 2011 20:41:37 +0000 (+0300) Subject: Add YieldNodeCollector definitions to pxd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=290bfe3a048f3f90f94a5f4519bbff0b2df65251;p=cython.git Add YieldNodeCollector definitions to pxd --- diff --git a/Cython/Compiler/ParseTreeTransforms.pxd b/Cython/Compiler/ParseTreeTransforms.pxd index a4c2368c..1ac7a412 100644 --- a/Cython/Compiler/ParseTreeTransforms.pxd +++ b/Cython/Compiler/ParseTreeTransforms.pxd @@ -45,6 +45,11 @@ cdef class AlignFunctionDefinitions(CythonTransform): cdef dict directives cdef scope +cdef class YieldNodeCollector(TreeVisitor): + cdef list yields + cdef list returns + cdef bint has_return_value + cdef class MarkClosureVisitor(CythonTransform): cdef bint needs_closure