What a declarator's next part is: a field where the grammar gives one, the first named child where it doesn't.
(declarator: SyntaxNode)
| 61 | |
| 62 | /** What a declarator's next part is: a field where the grammar gives one, the first named child where it doesn't. */ |
| 63 | function innerDeclarator(declarator: SyntaxNode): SyntaxNode | null { |
| 64 | return getChildByField(declarator, 'declarator') ?? declarator.namedChild(0); |
| 65 | } |
| 66 | |
| 67 | /** |
| 68 | * Whether a member declarator declares a member function (`Status Get(int);`, |
no test coverage detected