pub fn parse_file(text: &str) -> Result<FileSpec, Vec<SpecError>>
Reads a whole Rust file: the structs that derive BusinessObject and the enums that derive BusinessEnum. Every problem found is returned, each with its place.
BusinessObject
BusinessEnum