Type Alias glsl_lang::ast::PreprocessorExtension

source ·
pub type PreprocessorExtension = Node<PreprocessorExtensionData>;
Expand description

Type alias for Node<PreprocessorExtensionData>.

Aliased Type§

struct PreprocessorExtension {
    pub content: PreprocessorExtensionData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: PreprocessorExtensionData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Host for PreprocessorExtension

source§

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

Visit an AST node.
source§

impl HostMut for PreprocessorExtension

source§

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

Visit an AST node.