pub fn parse_to_ast(cfg: &ParserConfig) -> Result<RtLolaAst, RtLolaError>
Expand description
Attempts to parse a textual specification into an RtLolaAst.
The specification is wrapped into a ParserConfig and can either be a string or a path to a specification file.
ยงFail
Fails if the parsing was unsuccessful due to parsing errors such as incorrect syntax.