Type Alias glsl_lang::ast::PreprocessorLine

source ·
pub type PreprocessorLine = Node<PreprocessorLineData>;
Expand description

Type alias for Node<PreprocessorLineData>.

Aliased Type§

struct PreprocessorLine {
    pub content: PreprocessorLineData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: PreprocessorLineData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Host for PreprocessorLine

source§

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

Visit an AST node.
source§

impl HostMut for PreprocessorLine

source§

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

Visit an AST node.