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)
| 2671 | /// specifier that carries a body defines the type; `struct Foo *p` and the |
| 2672 | /// forward declaration `class Foo;` only name it. |
| 2673 | fn is_class_like_definition(node: Node) -> bool { |
| 2674 | is_class_like_specifier(node.kind()) && node.child_by_field_name("body").is_some() |
| 2675 | } |
| 2676 | |
| 2677 | /// isUnnamedMemberType (languages/c-cpp.ts): its members are its holder's. |
| 2678 | fn is_unnamed_member_type(specifier: Node) -> bool { |
no test coverage detected