pub fn root(&self) -> &'arena Node {
        // This indexing shouldn't panic because we require that `self.history_index` is a valid
        // index into `self.root_history`, and `self.root_history` has at least one element
        self.root_history[self.history_index].root
    }
/// Returns a reference to the node that is currently the root of the AST.
Returns a reference to the node that is currently the root of the AST.
Returns a reference to the node that is currently the root of the AST .
pub fn root(&self) -> &'arena Node {
        // This indexing shouldn't panic because we require that `self.history_index` is a valid
        // index into `self.root_history`, and `self.root_history` has at least one element
        self.root_history[self.history_index].root
    }
pub fn root ( & self ) -> & ' arena Node { // This indexing shouldn't panic because we require that `self.history_index` is a valid // index into `self.root_history`, and `self.root_history` has at least one element self . root_history [ self . history_index ] . root }
Returns a reference to the node that is currently the root of the AST.
Returns a reference to the node that is currently the root of the AST .
&self
&self