(&mut self, node: Node<'t>)
| 727 | } |
| 728 | |
| 729 | fn extract_enum_members(&mut self, node: Node<'t>) { |
| 730 | // name-field path: one enum_member node positioned at the MEMBER node |
| 731 | // (attributes included in its span); values/attributes ignored. |
| 732 | if let Some(name_node) = node.child_by_field_name("name") { |
| 733 | let name = self.text(name_node).to_string(); |
| 734 | self.create_node("enum_member", &name, node, Extra::default()); |
| 735 | } |
| 736 | // (identifier-children / leaf fallbacks are other grammars' shapes) |
| 737 | } |
| 738 | |
| 739 | /// extractProperty (1986) — property_declaration only (dispatch-gated to |
| 740 | /// class-like scopes). Accessor bodies and `=>` value clauses are never |
no test coverage detected