pub fn build<R: TreeRoot<Types>>(
        arenas: &'a Arenas<'a>,
        file: Arc<File>,
        search_path: &Path,
        root: rnix::parser::Node<R>,
    ) -> Result<Self, Error> {
        let root = {
            let mut builder = Builder::new(&file, search_path, arenas);
            builder.build(root)?
        };

        Ok(Self { root, file })
    }
/// Builds a high-level AST from a raw expression parse tree.
Builds a high-level AST from a raw expression parse tree.
Builds a high - level AST from a raw expression parse tree .
pub fn build<R: TreeRoot<Types>>(
        arenas: &'a Arenas<'a>,
        file: Arc<File>,
        search_path: &Path,
        root: rnix::parser::Node<R>,
    ) -> Result<Self, Error> {
        let root = {
            let mut builder = Builder::new(&file, search_path, arenas);
            builder.build(root)?
        };
        Ok(Self { root, file })
    }
pub fn build < R : TreeRoot < Types > > ( arenas : & ' a Arenas < ' a > , file : Arc < File > , search_path : & Path , root : rnix :: parser :: Node < R > , ) -> Result < Self , Error > { let root = { let mut builder = Builder :: new ( & file , search_path , arenas ) ; builder . build ( root ) ? } ; Ok ( Self { root , file } ) }
Builds a high-level AST from a raw expression parse tree.
Builds a high - level AST from a raw expression parse tree .
arenas
&'a Arenas<'a>
file
Arc<File>
search_path
&Path
root
rnix::parser::Node<R>
arenas
&'a Arenas<'a>
file
Arc<File>
search_path
&Path
root
rnix::parser::Node<R>