pub struct IncrementalTree {
pub root: Node,
pub source: String,
/* private fields */
}Expand description
A parse tree with incremental parsing support and node mapping
Maintains an AST along with efficient lookup structures for finding nodes by position, enabling fast incremental updates. The node_map provides O(1) access to nodes at specific byte positions.
Fields§
§root: Node§source: StringImplementations§
Trait Implementations§
Source§impl Clone for IncrementalTree
impl Clone for IncrementalTree
Source§fn clone(&self) -> IncrementalTree
fn clone(&self) -> IncrementalTree
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IncrementalTree
impl RefUnwindSafe for IncrementalTree
impl Send for IncrementalTree
impl Sync for IncrementalTree
impl Unpin for IncrementalTree
impl UnsafeUnpin for IncrementalTree
impl UnwindSafe for IncrementalTree
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