Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file(text: &str) -> Result<FileSpec, Vec<SpecError>>
Expand description

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.