The types the template arguments of a written name name, wherever in the name they are.
(node: SyntaxNode, own: ReadonlySet<string>, source: string, names: CTypeName[])
| 180 | |
| 181 | /** The types the template arguments of a written name name, wherever in the name they are. */ |
| 182 | function collectTemplateArguments(node: SyntaxNode, own: ReadonlySet<string>, source: string, names: CTypeName[]): void { |
| 183 | for (const c of node.namedChildren) { |
| 184 | if (c.type === 'template_argument_list') collectCTypeNames(c, own, source, names); |
| 185 | else if (c.type === 'qualified_identifier' || c.type === 'template_type') collectTemplateArguments(c, own, source, names); |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | /** |
| 190 | * Whether a C/C++ type specifier defines a class, struct, union or enum, as |
no test coverage detected