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