Type Alias glsl_lang::ast::PreprocessorVersion

source ·
pub type PreprocessorVersion = Node<PreprocessorVersionData>;
Expand description

Type alias for Node<PreprocessorVersionData>.

Aliased Type§

struct PreprocessorVersion {
    pub content: PreprocessorVersionData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: PreprocessorVersionData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Host for PreprocessorVersion

source§

fn visit<V>(&self, visitor: &mut V)
where V: Visitor,

Visit an AST node.
source§

impl HostMut for PreprocessorVersion

source§

fn visit_mut<V>(&mut self, visitor: &mut V)
where V: VisitorMut,

Visit an AST node.