Lines Matching refs:zend_generator
29 typedef struct _zend_generator zend_generator; typedef
40 zend_generator *parent; /* NULL for root */
45 zend_generator *leaf; /* TODO: Unused, remove. */
46 zend_generator *child;
52 zend_generator *leaf; /* if parent != NULL */
53 zend_generator *root; /* if parent == NULL */
100 ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution);
101 ZEND_API void zend_generator_resume(zend_generator *generator);
103 ZEND_API void zend_generator_restore_call_stack(zend_generator *generator);
106 void zend_generator_yield_from(zend_generator *generator, zend_generator *from);
109 ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator);
110 ZEND_API zend_generator *zend_generator_update_root(zend_generator *generator);
111 static zend_always_inline zend_generator *zend_generator_get_current(zend_generator *generator) in zend_generator_get_current()
118 zend_generator *root = generator->node.ptr.root; in zend_generator_get_current()