* The name a C++ `qualified_identifier` ends in, past its scopes: the * `template_function` `ReadPrimitive ` for * `WireFormatLite::ReadPrimitive `. Null * when the tree lacks one.
(qid: SyntaxNode)
| 383 | * when the tree lacks one. |
| 384 | */ |
| 385 | function cppQualifiedIdName(qid: SyntaxNode): SyntaxNode | null { |
| 386 | let name: SyntaxNode | null = qid; |
| 387 | while (name?.type === 'qualified_identifier') name = getChildByField(name, 'name'); |
| 388 | return name; |
| 389 | } |
| 390 | |
| 391 | /** |
| 392 | * A C++ definition's name node, as named: an explicit specialization's |
no test coverage detected