xref: /PHP-8.0/Zend/zend_generators_arginfo.h (revision 45fa7596)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 50044c6c8d2a162a988906c0b752a5fe28adb933 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Generator_rewind, 0, 0, IS_VOID, 0)
5 ZEND_END_ARG_INFO()
6 
7 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Generator_valid, 0, 0, _IS_BOOL, 0)
8 ZEND_END_ARG_INFO()
9 
10 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Generator_current, 0, 0, IS_MIXED, 0)
11 ZEND_END_ARG_INFO()
12 
13 #define arginfo_class_Generator_key arginfo_class_Generator_current
14 
15 #define arginfo_class_Generator_next arginfo_class_Generator_rewind
16 
17 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Generator_send, 0, 1, IS_MIXED, 0)
18 	ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
19 ZEND_END_ARG_INFO()
20 
21 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Generator_throw, 0, 1, IS_MIXED, 0)
22 	ZEND_ARG_OBJ_INFO(0, exception, Throwable, 0)
23 ZEND_END_ARG_INFO()
24 
25 #define arginfo_class_Generator_getReturn arginfo_class_Generator_current
26 
27 
28 ZEND_METHOD(Generator, rewind);
29 ZEND_METHOD(Generator, valid);
30 ZEND_METHOD(Generator, current);
31 ZEND_METHOD(Generator, key);
32 ZEND_METHOD(Generator, next);
33 ZEND_METHOD(Generator, send);
34 ZEND_METHOD(Generator, throw);
35 ZEND_METHOD(Generator, getReturn);
36 
37 
38 static const zend_function_entry class_Generator_methods[] = {
39 	ZEND_ME(Generator, rewind, arginfo_class_Generator_rewind, ZEND_ACC_PUBLIC)
40 	ZEND_ME(Generator, valid, arginfo_class_Generator_valid, ZEND_ACC_PUBLIC)
41 	ZEND_ME(Generator, current, arginfo_class_Generator_current, ZEND_ACC_PUBLIC)
42 	ZEND_ME(Generator, key, arginfo_class_Generator_key, ZEND_ACC_PUBLIC)
43 	ZEND_ME(Generator, next, arginfo_class_Generator_next, ZEND_ACC_PUBLIC)
44 	ZEND_ME(Generator, send, arginfo_class_Generator_send, ZEND_ACC_PUBLIC)
45 	ZEND_ME(Generator, throw, arginfo_class_Generator_throw, ZEND_ACC_PUBLIC)
46 	ZEND_ME(Generator, getReturn, arginfo_class_Generator_getReturn, ZEND_ACC_PUBLIC)
47 	ZEND_FE_END
48 };
49 
50 
51 static const zend_function_entry class_ClosedGeneratorException_methods[] = {
52 	ZEND_FE_END
53 };
54