(n)
| 5039 | return _read_text(content, source), name_node |
| 5040 | |
| 5041 | def _php_class_const_scope(n) -> str | None: |
| 5042 | scope = n.child_by_field_name("scope") |
| 5043 | if scope is None: |
| 5044 | for c in n.children: |
| 5045 | if c.is_named and c.type in ("name", "qualified_name", "identifier"): |
| 5046 | scope = c |
| 5047 | break |
| 5048 | if scope is None: |
| 5049 | return None |
| 5050 | return _read_text(scope, source) |
| 5051 | |
| 5052 | _tracked_body_ids: set[int] = set() |
| 5053 | _JS_CLOSURE_TYPES = ("arrow_function", "function_expression") |
no test coverage detected