isClassLikeDefinition (languages/c-cpp.ts): a class/struct/union/enum specifier that carries a body defines the type; `struct Foo *p` and the forward declaration `class Foo;` only name it.
(node: Node)
| 2646 | /// specifier that carries a body defines the type; `struct Foo *p` and the |
| 2647 | /// forward declaration `class Foo;` only name it. |
| 2648 | fn is_class_like_definition(node: Node) -> bool { |
| 2649 | is_class_like_specifier(node.kind()) && node.child_by_field_name("body").is_some() |
| 2650 | } |
| 2651 | |
| 2652 | /// isUnnamedMemberType (languages/c-cpp.ts): its members are its holder's. |
| 2653 | fn is_unnamed_member_type(specifier: Node) -> bool { |
no test coverage detected