Trait glsl_lang::ast::NodeContent [−][src]
Trait for AST node contents.
All nodes which will be stored in a Node need to implement this.
Provided methods
pub fn into_node<T>(self) -> Node<T> where
T: From<Self> + NodeContent,
[src]
T: From<Self> + NodeContent,
Convert the contents into a node
pub fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
[src]
Add span information to a syntax node