Home
last modified time | relevance | path

Searched refs:doc_comment (Results 1 – 17 of 17) sorted by relevance

/PHP-7.4/ext/opcache/
H A Dzend_persist.c333 op_array->doc_comment = zend_shared_alloc_get_xlat_entry(op_array->doc_comment); in zend_persist_op_array_ex()
640 if (prop->doc_comment) { in zend_persist_property_info()
645 zend_shared_alloc_register_xlat_entry(prop->doc_comment, prop->doc_comment); in zend_persist_property_info()
678 if (c->doc_comment) { in zend_persist_class_constant()
680 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local
681 if (doc_comment) { in zend_persist_class_constant()
682 c->doc_comment = doc_comment; in zend_persist_class_constant()
687 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local
688 if (!doc_comment) { in zend_persist_class_constant()
689 zend_shared_alloc_register_xlat_entry(c->doc_comment, c->doc_comment); in zend_persist_class_constant()
[all …]
H A Dzend_persist_calc.c239 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex()
240 ADD_STRING(op_array->doc_comment); in zend_persist_op_array_calc_ex()
312 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
313 ADD_STRING(prop->doc_comment); in zend_persist_property_info_calc()
326 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc()
327 ADD_STRING(c->doc_comment); in zend_persist_class_constant_calc()
408 if (ZCG(accel_directives).save_comments && ce->info.user.doc_comment) { in zend_persist_class_entry_calc()
409 ADD_STRING(ce->info.user.doc_comment); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c439 SERIALIZE_STR(op_array->doc_comment);
565 SERIALIZE_STR(op_array->doc_comment);
600 if (prop->doc_comment) {
601 SERIALIZE_STR(prop->doc_comment);
626 if (c->doc_comment) {
627 SERIALIZE_STR(c->doc_comment);
1161 UNSERIALIZE_STR(op_array->doc_comment);
1307 if (prop->doc_comment) {
1308 UNSERIALIZE_STR(prop->doc_comment);
1331 if (c->doc_comment) {
[all …]
/PHP-7.4/ext/reflection/tests/
H A Dbug64936.phpt16 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
23 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/PHP-7.4/Zend/
H A Dzend_opcode.c65 op_array->doc_comment = NULL; in init_op_array()
303 if (prop_info->doc_comment) { in destroy_zend_class()
304 zend_string_release_ex(prop_info->doc_comment, 0); in destroy_zend_class()
320 if (c->doc_comment) { in destroy_zend_class()
321 zend_string_release_ex(c->doc_comment, 0); in destroy_zend_class()
338 if (ce->info.user.doc_comment) { in destroy_zend_class()
339 zend_string_release_ex(ce->info.user.doc_comment, 0); in destroy_zend_class()
389 if (c->doc_comment) { in destroy_zend_class()
390 zend_string_release_ex(c->doc_comment, 1); in destroy_zend_class()
470 if (op_array->doc_comment) { in destroy_op_array()
[all …]
H A Dzend_compile.h43 if (CG(doc_comment)) { \
44 zend_string_release_ex(CG(doc_comment), 0); \
45 CG(doc_comment) = NULL; \
366 zend_string *doc_comment; member
382 zend_string *doc_comment; member
448 zend_string *doc_comment; member
H A Dzend_globals.h99 zend_string *doc_comment; member
H A Dzend_ast.h192 zend_string *doc_comment; member
271 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment,
H A Dzend_language_scanner.l192 CG(doc_comment) = NULL; in startup_scanner()
2203 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
2437 zend_string *saved_doc_comment = CG(doc_comment);
2448 CG(doc_comment) = NULL;
2498 CG(doc_comment) = saved_doc_comment;
H A Dzend.h179 zend_string *doc_comment; member
H A Dzend_ast.c116 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment, in zend_ast_create_decl() argument
128 ast->doc_comment = doc_comment; in zend_ast_create_decl()
857 if (decl->doc_comment) { in zend_ast_destroy()
858 zend_string_release_ex(decl->doc_comment, 0); in zend_ast_destroy()
H A Dzend_API.c3700 … *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type… in zend_declare_typed_property() argument
3798 property_info->doc_comment = doc_comment; in zend_declare_typed_property()
3935 …_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_property_ex() argument
3937 return zend_declare_typed_property(ce, name, property, access_type, doc_comment, 0); in zend_declare_property_ex()
4004 …ass_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_class_constant_ex() argument
4030 c->doc_comment = doc_comment; in zend_declare_class_constant_ex()
H A Dzend_inheritance.c1934 zend_string *doc_comment; in zend_do_traits_property_binding() local
2033 doc_comment = property_info->doc_comment ? zend_string_copy(property_info->doc_comment) : NULL; in zend_do_traits_property_binding()
2037 zend_declare_typed_property(ce, prop_name, prop_value, flags, doc_comment, property_info->type); in zend_do_traits_property_binding()
H A Dzend_language_parser.y1023 /* empty */ { $$ = CG(doc_comment); CG(doc_comment) = NULL; }
H A Dzend_compile.c1664 ce->info.user.doc_comment = NULL; in zend_initialize_class_data()
6005 if (decl->doc_comment) { in zend_compile_func_decl()
6006 op_array->doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_func_decl()
6108 zend_string *doc_comment = NULL; in zend_compile_prop_decl() local
6126 doc_comment = zend_string_copy(zend_ast_get_str(doc_comment_ast)); in zend_compile_prop_decl()
6181 zend_declare_typed_property(ce, name, &value_zv, flags, doc_comment, type); in zend_compile_prop_decl()
6212 …zend_string *doc_comment = doc_comment_ast ? zend_string_copy(zend_ast_get_str(doc_comment_ast)) :… in zend_compile_class_const_decl() local
6226 zend_declare_class_constant_ex(ce, name, &value_zv, ast->attr, doc_comment); in zend_compile_class_const_decl()
6447 if (decl->doc_comment) { in zend_compile_class_decl()
6448 ce->info.user.doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_class_decl()
H A Dzend_API.h315 … *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type…
317 …end_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment);
326 …x(zend_class_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment);
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c302 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in _class_string()
1768 RETURN_STR_COPY(fptr->op_array.doc_comment); in ZEND_METHOD()
3675 if (ref->doc_comment) { in ZEND_METHOD()
3676 RETURN_STR_COPY(ref->doc_comment); in ZEND_METHOD()
4080 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in ZEND_METHOD()
4081 RETURN_STR_COPY(ce->info.user.doc_comment); in ZEND_METHOD()
4282 property_info_tmp.doc_comment = NULL; in ZEND_METHOD()
4361 property_info.doc_comment = NULL; in _adddynproperty()
5345 reference->prop.doc_comment = NULL; in ZEND_METHOD()
5647 if (ref->prop.doc_comment) { in ZEND_METHOD()
[all …]

Completed in 131 milliseconds