parse_file

Function parse_file 

Source
pub fn parse_file(path: &Path) -> Result<ParsedFile, ParseError>
Expand description

Parses a Rust source file into a structured representation

Returns ParseError::ParseFailed if the file cannot be parsed, allowing the caller to skip unparseable files.