diff --git a/helper/src/csharp/docs/xmldoc.yaml b/helper/src/csharp/docs/xmldoc.yaml index 51789d6f..0ae0abf9 100644 --- a/helper/src/csharp/docs/xmldoc.yaml +++ b/helper/src/csharp/docs/xmldoc.yaml @@ -22,6 +22,7 @@ templates: other: node_types: + - struct_declaration - class_declaration - variable_declaration - property_declaration diff --git a/helper/src/csharp/parser.rs b/helper/src/csharp/parser.rs index 21080a40..08a74d7a 100644 --- a/helper/src/csharp/parser.rs +++ b/helper/src/csharp/parser.rs @@ -41,6 +41,7 @@ impl<'a> CSharpParser<'a> { "constructor_declaration" => Some(self.parse_function(&child_node)), "class_declaration" | + "struct_declaration" | "variable_declaration" | "property_declaration" | "field_declaration" |