pub type Declaration = Node<DeclarationData>;Expand description
Type alias for Node<DeclarationData>.
Aliased Type§
pub struct Declaration {
pub content: DeclarationData,
pub span: Option<NodeSpan>,
}Fields§
§content: DeclarationDataContents of this syntax node
span: Option<NodeSpan>Span in the input this node was parsed from
Trait Implementations§
Source§impl Extractable<TranslationUnit> for Declaration
impl Extractable<TranslationUnit> for Declaration
Source§impl Host for Declaration
impl Host for Declaration
Source§impl HostMut for Declaration
impl HostMut for Declaration
Source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.