cppQualifiedIdName (languages/c-cpp.ts): the name a `qualified_identifier` ends in, past its scopes. None when the tree lacks one.
(qid: Node)
| 2580 | /// cppQualifiedIdName (languages/c-cpp.ts): the name a `qualified_identifier` |
| 2581 | /// ends in, past its scopes. None when the tree lacks one. |
| 2582 | fn cpp_qualified_id_name(qid: Node) -> Option<Node> { |
| 2583 | let mut name = qid; |
| 2584 | while name.kind() == "qualified_identifier" { |
| 2585 | name = name.child_by_field_name("name")?; |
| 2586 | } |
| 2587 | Some(name) |
| 2588 | } |
| 2589 | |
| 2590 | /// findDeclaratorQualifiedId (languages/c-cpp.ts:13): BFS for the declarator's |
| 2591 | /// `qualified_identifier`, skipping the parts that hold types or expressions |
no outgoing calls
no test coverage detected