Check if a tree-sitter node type is an enum member declaration. */
| 9043 | |
| 9044 | /* Check if a tree-sitter node type is an enum member declaration. */ |
| 9045 | static bool is_enum_member_kind(const char *kind) { |
| 9046 | return strcmp(kind, "enum_member_declaration") == 0 || strcmp(kind, "enum_constant") == 0 || |
| 9047 | strcmp(kind, "enum_member") == 0 || strcmp(kind, "enum_assignment") == 0 || |
| 9048 | strcmp(kind, "enumerator") == 0; |
| 9049 | } |
| 9050 | |
| 9051 | /* How an enum's members are named. |
| 9052 | * |
no outgoing calls
no test coverage detected