pub struct AstNode {
pub node_type: AstNodeType,
pub content: String,
pub line_number: usize,
pub column_start: usize,
pub column_end: usize,
pub children: Vec<AstNode>,
}Expand description
Represents a node in the AST
Fields§
§node_type: AstNodeType§content: String§line_number: usize§column_start: usize§column_end: usize§children: Vec<AstNode>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AstNode
impl RefUnwindSafe for AstNode
impl Send for AstNode
impl Sync for AstNode
impl Unpin for AstNode
impl UnsafeUnpin for AstNode
impl UnwindSafe for AstNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more