Type Alias glsl_lang::ast::PreprocessorDefine

source ·
pub type PreprocessorDefine = Node<PreprocessorDefineData>;
Expand description

Type alias for Node<PreprocessorDefineData>.

Aliased Type§

struct PreprocessorDefine {
    pub content: PreprocessorDefineData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: PreprocessorDefineData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Host for PreprocessorDefine

source§

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

Visit an AST node.
source§

impl HostMut for PreprocessorDefine

source§

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

Visit an AST node.