From 290bfe3a048f3f90f94a5f4519bbff0b2df65251 Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Wed, 12 Jan 2011 23:41:37 +0300 Subject: [PATCH] Add YieldNodeCollector definitions to pxd --- Cython/Compiler/ParseTreeTransforms.pxd | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.26.2