Function near_syn::parse_rust[][src]

pub fn parse_rust<S: AsRef<Path>>(file_name: S) -> File

Returns the Rust syntax tree for the given file_name path. Panics if the file cannot be open or the file has syntax errors.