Add AST JSON representation for DisplayName.php with method and import details

This commit is contained in:
hamed
2026-07-19 08:38:34 +03:30
parent d780b5cbb6
commit 7e4e4b9157
14 changed files with 2802 additions and 1959 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_util_displayname_php", "label": "DisplayName.php", "file_type": "code", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L1"}, {"id": "util_displayname_displayname", "label": "DisplayName", "file_type": "code", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L15"}, {"id": "util_displayname_displayname_isplaceholder", "label": ".isPlaceholder()", "file_type": "code", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L24"}, {"id": "util_displayname_displayname_assertreal", "label": ".assertReal()", "file_type": "code", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L41"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_util_displayname_php", "target": "errorcodes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_util_displayname_php", "target": "appexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_util_displayname_php", "target": "util_displayname_displayname", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L15", "weight": 1.0}, {"source": "util_displayname_displayname", "target": "util_displayname_displayname_isplaceholder", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L24", "weight": 1.0}, {"source": "util_displayname_displayname", "target": "util_displayname_displayname_assertreal", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Util/DisplayName.php", "source_location": "L41", "weight": 1.0}], "raw_calls": [{"caller_nid": "util_displayname_displayname_isplaceholder", "callee": "trim", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Util/DisplayName.php", "source_location": "L26", "receiver": null}, {"caller_nid": "util_displayname_displayname_isplaceholder", "callee": "mb_strlen", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Util/DisplayName.php", "source_location": "L27", "receiver": null}, {"caller_nid": "util_displayname_displayname_isplaceholder", "callee": "preg_match", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Util/DisplayName.php", "source_location": "L31", "receiver": null}, {"caller_nid": "util_displayname_displayname_isplaceholder", "callee": "str_replace", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Util/DisplayName.php", "source_location": "L31", "receiver": null}, {"caller_nid": "util_displayname_displayname_isplaceholder", "callee": "in_array", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Util/DisplayName.php", "source_location": "L35", "receiver": null}, {"caller_nid": "util_displayname_displayname_isplaceholder", "callee": "mb_strtolower", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Util/DisplayName.php", "source_location": "L35", "receiver": null}, {"caller_nid": "util_displayname_displayname_assertreal", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Util/DisplayName.php", "source_location": "L43", "receiver": null}]}