Type Alias glsl_lang::ast::PreprocessorIf

source ·
pub type PreprocessorIf = Node<PreprocessorIfData>;
Expand description

Type alias for Node<PreprocessorIfData>.

Aliased Type§

struct PreprocessorIf {
    pub content: PreprocessorIfData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: PreprocessorIfData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Host for PreprocessorIf

source§

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

Visit an AST node.
source§

impl HostMut for PreprocessorIf

source§

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

Visit an AST node.