Home
last modified time | relevance | path

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

/PHP-7.0/ext/reflection/tests/
H A Dbug64936.phpt18 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
25 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/PHP-7.0/ext/opcache/
H A Dzend_persist.c640 if (op_array->doc_comment) { in zend_persist_op_array_ex()
643 op_array->doc_comment = zend_shared_alloc_get_xlat_entry(op_array->doc_comment); in zend_persist_op_array_ex()
644 ZEND_ASSERT(op_array->doc_comment != NULL); in zend_persist_op_array_ex()
646 zend_accel_store_string(op_array->doc_comment); in zend_persist_op_array_ex()
650 zend_string_release(op_array->doc_comment); in zend_persist_op_array_ex()
652 op_array->doc_comment = NULL; in zend_persist_op_array_ex()
718 if (prop->doc_comment) { in zend_persist_property_info()
720 zend_accel_store_string(prop->doc_comment); in zend_persist_property_info()
723 zend_shared_alloc_register_xlat_entry(prop->doc_comment, prop->doc_comment); in zend_persist_property_info()
725 zend_string_release(prop->doc_comment); in zend_persist_property_info()
[all …]
H A Dzend_persist_calc.c243 if (ZCG(accel_directives).save_comments && op_array->doc_comment) { in zend_persist_op_array_calc_ex()
244 ADD_STRING(op_array->doc_comment); in zend_persist_op_array_calc_ex()
291 if (ZCG(accel_directives).save_comments && prop->doc_comment) { in zend_persist_property_info_calc()
292 ADD_STRING(prop->doc_comment); in zend_persist_property_info_calc()
H A Dzend_file_cache.c382 SERIALIZE_STR(op_array->doc_comment); in zend_file_cache_serialize_op_array()
497 SERIALIZE_STR(op_array->doc_comment); in zend_file_cache_serialize_op_array()
534 if (prop->doc_comment && !IS_SERIALIZED(prop->doc_comment)) { in zend_file_cache_serialize_prop_info()
535 SERIALIZE_STR(prop->doc_comment); in zend_file_cache_serialize_prop_info()
960 UNSERIALIZE_STR(op_array->doc_comment); in zend_file_cache_unserialize_op_array()
1066 UNSERIALIZE_STR(op_array->doc_comment); in zend_file_cache_unserialize_op_array()
1099 if (prop->doc_comment && !IS_UNSERIALIZED(prop->doc_comment)) { in zend_file_cache_unserialize_prop_info()
1100 UNSERIALIZE_STR(prop->doc_comment); in zend_file_cache_unserialize_prop_info()
H A DZendAccelerator.h366 # define ZEND_CE_DOC_COMMENT(ce) (ce)->info.user.doc_comment
/PHP-7.0/Zend/
H A Dzend_opcode.c72 op_array->doc_comment = NULL; in init_op_array()
282 if (prop_info->doc_comment) { in destroy_zend_class()
283 zend_string_release(prop_info->doc_comment); in destroy_zend_class()
294 if (ce->info.user.doc_comment) { in destroy_zend_class()
295 zend_string_release(ce->info.user.doc_comment); in destroy_zend_class()
387 if (op_array->doc_comment) { in destroy_op_array()
388 zend_string_release(op_array->doc_comment); in destroy_op_array()
H A Dzend_ast.h185 zend_string *doc_comment; member
200 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment,
H A Dzend_compile.h49 if (CG(doc_comment)) { \
50 zend_string_release(CG(doc_comment)); \
51 CG(doc_comment) = NULL; \
286 zend_string *doc_comment; member
368 zend_string *doc_comment; member
H A Dzend_globals.h103 zend_string *doc_comment; member
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()
1502 zend_string *doc_comment; in zend_do_traits_property_binding() local
1531 if (coliding_prop->doc_comment) { in zend_do_traits_property_binding()
1532 zend_string_release(coliding_prop->doc_comment); in zend_do_traits_property_binding()
1578 doc_comment = property_info->doc_comment ? zend_string_copy(property_info->doc_comment) : NULL; in zend_do_traits_property_binding()
1581 doc_comment); in zend_do_traits_property_binding()
H A Dzend.h186 zend_string *doc_comment; member
H A Dzend_ast.c76 zend_ast_kind kind, uint32_t flags, uint32_t start_lineno, zend_string *doc_comment, in zend_ast_create_decl() argument
88 ast->doc_comment = doc_comment; in zend_ast_create_decl()
512 if (decl->doc_comment) { in zend_ast_destroy_ex()
513 zend_string_release(decl->doc_comment); in zend_ast_destroy_ex()
H A Dzend_language_parser.y979 /* empty */ { $$ = CG(doc_comment); CG(doc_comment) = NULL; }
H A Dzend_compile.c1651 ce->info.user.doc_comment = NULL; in zend_initialize_class_data()
4937 if (decl->doc_comment) { in zend_compile_func_decl()
4938 op_array->doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_func_decl()
5016 zend_string *doc_comment = NULL; in zend_compile_prop_decl() local
5021 doc_comment = zend_string_copy(zend_ast_get_str(doc_comment_ast)); in zend_compile_prop_decl()
5042 zend_declare_property_ex(ce, name, &value_zv, flags, doc_comment); in zend_compile_prop_decl()
5308 if (decl->doc_comment) { in zend_compile_class_decl()
5309 ce->info.user.doc_comment = zend_string_copy(decl->doc_comment); in zend_compile_class_decl()
H A Dzend_language_scanner.l180 CG(doc_comment) = NULL; in startup_scanner()
1965 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
H A Dzend_API.c3611 …_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment) /* {{{ */ in zend_declare_property_ex() argument
3679 property_info->doc_comment = doc_comment; in zend_declare_property_ex()
H A Dzend_API.h318 …end_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment);
H A Dzend_language_scanner.c182 CG(doc_comment) = NULL; in startup_scanner()
3335 CG(doc_comment) = zend_string_init(yytext, yyleng, 0); in lex_scan()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c403 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in _class_string()
822 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in _function_string()
1892 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.doc_comment) { in ZEND_METHOD()
1893 RETURN_STR_COPY(fptr->op_array.doc_comment); in ZEND_METHOD()
4031 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in ZEND_METHOD()
4032 RETURN_STR_COPY(ce->info.user.doc_comment); in ZEND_METHOD()
4268 property_info_tmp.doc_comment = NULL; in ZEND_METHOD()
4355 property_info.doc_comment = NULL; in _adddynproperty()
5267 reference->prop.doc_comment = NULL; in ZEND_METHOD()
5537 if (ref->prop.doc_comment) { in ZEND_METHOD()
[all …]

Completed in 130 milliseconds