classifyClassNode (languages/csharp.ts): a record_declaration with an anonymous `struct` keyword child is a record struct.
(node: Node)
| 258 | /// classifyClassNode (languages/csharp.ts): a record_declaration with an |
| 259 | /// anonymous `struct` keyword child is a record struct. |
| 260 | fn record_is_struct(node: Node) -> bool { |
| 261 | (0..node.child_count()) |
| 262 | .filter_map(|i| node.child(i)) |
| 263 | .any(|c| c.kind() == "struct") |
| 264 | } |
| 265 | |
| 266 | impl<'t> Walker<'t> { |
| 267 | fn text(&self, node: Node) -> &'t str { |
no outgoing calls
no test coverage detected