Type Alias glsl_lang::ast::PreprocessorElseIf

source ·
pub type PreprocessorElseIf = Node<PreprocessorElseIfData>;
Expand description

Type alias for Node<PreprocessorElseIfData>.

Aliased Type§

struct PreprocessorElseIf {
    pub content: PreprocessorElseIfData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: PreprocessorElseIfData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Host for PreprocessorElseIf

source§

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

Visit an AST node.
source§

impl HostMut for PreprocessorElseIf

source§

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

Visit an AST node.