Home
last modified time | relevance | path

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

/PHP-7.3/ext/opcache/
H A Dzend_persist.c579 op_array->doc_comment = zend_shared_alloc_get_xlat_entry(op_array->doc_comment); in zend_persist_op_array_ex()
669 if (prop->doc_comment) { in zend_persist_property_info()
674 zend_shared_alloc_register_xlat_entry(prop->doc_comment, prop->doc_comment); in zend_persist_property_info()
696 if (c->doc_comment) { in zend_persist_class_constant()
698 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local
699 if (doc_comment) { in zend_persist_class_constant()
700 c->doc_comment = doc_comment; in zend_persist_class_constant()
705 zend_string *doc_comment = zend_shared_alloc_get_xlat_entry(c->doc_comment); in zend_persist_class_constant() local
706 if (!doc_comment) { in zend_persist_class_constant()
707 zend_shared_alloc_register_xlat_entry(c->doc_comment, c->doc_comment); in zend_persist_class_constant()
[all …]
H A Dzend_persist_calc.c234 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex()
235 ADD_STRING(op_array->doc_comment); in zend_persist_op_array_calc_ex()
287 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
288 ADD_STRING(prop->doc_comment); in zend_persist_property_info_calc()
301 if (ZCG(accel_directives).save_comments && c->doc_comment) { in zend_persist_class_constant_calc()
302 ADD_STRING(c->doc_comment); in zend_persist_class_constant_calc()
339 if (ZCG(accel_directives).save_comments && ce->info.user.doc_comment) { in zend_persist_class_entry_calc()
340 ADD_STRING(ce->info.user.doc_comment); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c397 SERIALIZE_STR(op_array->doc_comment);
534 SERIALIZE_STR(op_array->doc_comment);
569 if (prop->doc_comment) {
570 SERIALIZE_STR(prop->doc_comment);
594 if (c->doc_comment) {
595 SERIALIZE_STR(c->doc_comment);
1036 UNSERIALIZE_STR(op_array->doc_comment);
1190 if (prop->doc_comment) {
1191 UNSERIALIZE_STR(prop->doc_comment);
1213 if (c->doc_comment) {
[all …]
/PHP-7.3/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.3/Zend/
H A Dzend_opcode.c65 op_array->doc_comment = NULL; in init_op_array()
241 if (prop_info->doc_comment) { in destroy_zend_class()
242 zend_string_release_ex(prop_info->doc_comment, 0); in destroy_zend_class()
255 if (c->doc_comment) { in destroy_zend_class()
256 zend_string_release_ex(c->doc_comment, 0); in destroy_zend_class()
265 if (ce->info.user.doc_comment) { in destroy_zend_class()
266 zend_string_release_ex(ce->info.user.doc_comment, 0); in destroy_zend_class()
312 if (c->doc_comment) { in destroy_zend_class()
313 zend_string_release_ex(c->doc_comment, 1); in destroy_zend_class()
386 if (op_array->doc_comment) { in destroy_op_array()
[all …]
H A Dzend_compile.h45 if (CG(doc_comment)) { \
46 zend_string_release_ex(CG(doc_comment), 0); \
47 CG(doc_comment) = NULL; \
344 zend_string *doc_comment; member
359 zend_string *doc_comment; member
424 zend_string *doc_comment; member
H A Dzend_globals.h101 zend_string *doc_comment; member
H A Dzend_ast.h188 zend_string *doc_comment; member
266 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment,
H A Dzend_inheritance.c41 if (new_property_info->doc_comment) { in zend_duplicate_property_info()
42 zend_string_addref(new_property_info->doc_comment); in zend_duplicate_property_info()
1570 zend_string *doc_comment; in zend_do_traits_property_binding() local
1602 if (coliding_prop->doc_comment) { in zend_do_traits_property_binding()
1603 zend_string_release_ex(coliding_prop->doc_comment, 0); in zend_do_traits_property_binding()
1672 doc_comment = property_info->doc_comment ? zend_string_copy(property_info->doc_comment) : NULL; in zend_do_traits_property_binding()
1675 doc_comment); in zend_do_traits_property_binding()
H A Dzend.h168 zend_string *doc_comment; member
H A Dzend_ast.c106 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment, in zend_ast_create_decl() argument
118 ast->doc_comment = doc_comment; in zend_ast_create_decl()
791 if (decl->doc_comment) { in zend_ast_destroy()
792 zend_string_release_ex(decl->doc_comment, 0); in zend_ast_destroy()
H A Dzend_language_scanner.l179 CG(doc_comment) = NULL; in startup_scanner()
2109 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
2343 zend_string *saved_doc_comment = CG(doc_comment);
2354 CG(doc_comment) = NULL;
2404 CG(doc_comment) = saved_doc_comment;
H A Dzend_language_parser.y1000 /* empty */ { $$ = CG(doc_comment); CG(doc_comment) = NULL; }
H A Dzend_API.c3709 …_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_property_ex() argument
3782 property_info->doc_comment = doc_comment; in zend_declare_property_ex()
3853 …ass_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_class_constant_ex() argument
3879 c->doc_comment = doc_comment; in zend_declare_class_constant_ex()
H A Dzend_compile.c1743 ce->info.user.doc_comment = NULL; in zend_initialize_class_data()
6032 if (decl->doc_comment) { in zend_compile_func_decl()
6033 op_array->doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_func_decl()
6118 zend_string *doc_comment = NULL; in zend_compile_prop_decl() local
6123 doc_comment = zend_string_copy(zend_ast_get_str(doc_comment_ast)); in zend_compile_prop_decl()
6143 zend_declare_property_ex(ce, name, &value_zv, flags, doc_comment); in zend_compile_prop_decl()
6165 …zend_string *doc_comment = doc_comment_ast ? zend_string_copy(zend_ast_get_str(doc_comment_ast)) :… in zend_compile_class_const_decl() local
6179 zend_declare_class_constant_ex(ce, name, &value_zv, ast->attr, doc_comment); in zend_compile_class_const_decl()
6395 if (decl->doc_comment) { in zend_compile_class_decl()
6396 ce->info.user.doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_class_decl()
H A Dzend_API.h315 …end_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment);
324 …x(zend_class_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment);
H A Dzend_language_scanner.c182 CG(doc_comment) = NULL; in startup_scanner()
2652 CG(doc_comment) = zend_string_init(yytext, yyleng, 0); in lex_scan()
4733 zend_string *saved_doc_comment = CG(doc_comment); in lex_scan()
4744 CG(doc_comment) = NULL; in lex_scan()
4794 CG(doc_comment) = saved_doc_comment; in lex_scan()
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c282 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in _class_string()
1795 RETURN_STR_COPY(fptr->op_array.doc_comment); in ZEND_METHOD()
3696 if (ref->doc_comment) { in ZEND_METHOD()
3697 RETURN_STR_COPY(ref->doc_comment); in ZEND_METHOD()
4053 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in ZEND_METHOD()
4054 RETURN_STR_COPY(ce->info.user.doc_comment); in ZEND_METHOD()
4280 property_info_tmp.doc_comment = NULL; in ZEND_METHOD()
4367 property_info.doc_comment = NULL; in _adddynproperty()
5340 reference->prop.doc_comment = NULL; in ZEND_METHOD()
5580 if (ref->prop.doc_comment) { in ZEND_METHOD()
[all …]

Completed in 140 milliseconds