Type Alias glsl_lang_types::ast::Declaration

source ·
pub type Declaration = Node<DeclarationData>;
Expand description

Type alias for Node<DeclarationData>.

Aliased Type§

struct Declaration {
    pub content: DeclarationData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: DeclarationData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from