MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / is_class_like_specifier

Function is_class_like_specifier

codegraph-kernel/src/ccpp/mod.rs:2666–2668  ·  view source on GitHub ↗

CLASS_LIKE_SPECIFIERS (languages/c-cpp.ts).

(kind: &str)

Source from the content-addressed store, hash-verified

2664
2665/// CLASS_LIKE_SPECIFIERS (languages/c-cpp.ts).
2666fn is_class_like_specifier(kind: &str) -> bool {
2667 matches!(kind, "class_specifier" | "struct_specifier" | "union_specifier" | "enum_specifier")
2668}
2669
2670/// isClassLikeDefinition (languages/c-cpp.ts): a class/struct/union/enum
2671/// specifier that carries a body defines the type; `struct Foo *p` and the

Callers 3

collect_type_namesMethod · 0.85
is_class_like_definitionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected