[][src]Function rtlola_frontend::parse

pub fn parse(
    filename: &str,
    spec_str: &str,
    config: FrontendConfig
) -> Result<RTLolaIR, String>

Parses a RTLola specification.

The string passed in as spec_str should be the content of the file specified by filename.
The filename is only used for printing locations.
See the FrontendConfig documentation on more information about the parser options.