pub fn parse_file<P: AsRef<Path>>(
base: &P,
path: &P,
) -> Result<SsdModule, ParseError>Expand description
Parses the given file and returns the corresponding SsdModule.
The namespace of the file is taken from the file’s path, with the base directory removed.
§Arguments
base- The base path of the file.path- The path to the file to parse.