classifyClassNode (languages/csharp.ts): a record_declaration with an anonymous `struct` keyword child is a record struct.
(node: Node)
| 247 | /// classifyClassNode (languages/csharp.ts): a record_declaration with an |
| 248 | /// anonymous `struct` keyword child is a record struct. |
| 249 | fn record_is_struct(node: Node) -> bool { |
| 250 | (0..node.child_count()) |
| 251 | .filter_map(|i| node.child(i)) |
| 252 | .any(|c| c.kind() == "struct") |
| 253 | } |
| 254 | |
| 255 | /// csharpExtractor.extractPackage: `name` field ?? first qualified_name / |
| 256 | /// identifier named child. No trim; None when empty. |
no outgoing calls
no test coverage detected