Struct sway_core::AstNode [−][src]
pub struct AstNode<'sc> {
pub content: AstNodeContent<'sc>,
pub span: Span<'sc>,
}
Expand description
Fields
content: AstNodeContent<'sc>
The content of this ast node, which could be any control flow structure or other basic organizational component.
span: Span<'sc>
The span::Span representing this entire AstNode.
Trait Implementations
Auto Trait Implementations
impl<'sc> RefUnwindSafe for AstNode<'sc>
impl<'sc> UnwindSafe for AstNode<'sc>
Blanket Implementations
Mutably borrows from an owned value. Read more