Function parse_source
Source pub fn parse_source(source: &str, file_name: &str) -> Result<StoredDefinition>
Expand description
Parse Modelica source code and return the AST with detailed errors.
§Arguments
source - The Modelica source code
file_name - The file name (used for error messages and location tracking)
§Returns
Ok(StoredDefinition) if parsing succeeded, Err with detailed error otherwise.