(specifier: SyntaxNode)
| 78 | |
| 79 | /** Is this class-like specifier an unnamed member of another (`struct S { union { … } u; };`)? */ |
| 80 | export function isUnnamedMemberType(specifier: SyntaxNode): boolean { |
| 81 | return !getChildByField(specifier, 'name') && specifier.parent?.type === 'field_declaration'; |
| 82 | } |
| 83 | |
| 84 | /** A type name a declaration writes: the name as references carry it, and the node it is read at. */ |
| 85 | export interface CTypeName { |
no test coverage detected