Type Alias glsl_lang::ast::Preprocessor
source · pub type Preprocessor = Node<PreprocessorData>;
Expand description
Type alias for Node<PreprocessorData>
.
Aliased Type§
struct Preprocessor {
pub content: PreprocessorData,
pub span: Option<NodeSpan>,
}
Fields§
§content: PreprocessorData
Contents of this syntax node
span: Option<NodeSpan>
Span in the input this node was parsed from
Trait Implementations§
source§impl Extractable<TranslationUnit> for Preprocessor
impl Extractable<TranslationUnit> for Preprocessor
source§impl Host for Preprocessor
impl Host for Preprocessor
source§impl HostMut for Preprocessor
impl HostMut for Preprocessor
source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.