classifyClassNode (languages/csharp.ts): a record_declaration with an anonymous `struct` keyword child is a record struct.
(node: Node)
| 256 | /// classifyClassNode (languages/csharp.ts): a record_declaration with an |
| 257 | /// anonymous `struct` keyword child is a record struct. |
| 258 | fn record_is_struct(node: Node) -> bool { |
| 259 | (0..node.child_count()) |
| 260 | .filter_map(|i| node.child(i)) |
| 261 | .any(|c| c.kind() == "struct") |
| 262 | } |
| 263 | |
| 264 | /// csharpExtractor.extractPackage: `name` field ?? first qualified_name / |
| 265 | /// identifier named child. No trim; None when empty. |
no outgoing calls
no test coverage detected