diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/rust/weedle2/src/namespace.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/rust/weedle2/src/namespace.rs b/third_party/rust/weedle2/src/namespace.rs index ed28573218..60673cdcec 100644 --- a/third_party/rust/weedle2/src/namespace.rs +++ b/third_party/rust/weedle2/src/namespace.rs @@ -1,6 +1,6 @@ use crate::argument::ArgumentList; use crate::attribute::ExtendedAttributeList; -use crate::common::{Identifier, Parenthesized}; +use crate::common::{Docstring, Identifier, Parenthesized}; use crate::types::{AttributedType, ReturnType}; /// Parses namespace members declaration @@ -13,6 +13,7 @@ ast_types! { /// /// (( )) means ( ) chars Operation(struct OperationNamespaceMember<'a> { + docstring: Option<Docstring>, attributes: Option<ExtendedAttributeList<'a>>, return_type: ReturnType<'a>, identifier: Option<Identifier<'a>>, @@ -21,6 +22,7 @@ ast_types! { }), /// Parses `[attribute]? readonly attributetype type identifier;` Attribute(struct AttributeNamespaceMember<'a> { + docstring: Option<Docstring>, attributes: Option<ExtendedAttributeList<'a>>, readonly: term!(readonly), attribute: term!(attribute), |