Skip to main content

parse_sources

Function parse_sources 

Source
pub fn parse_sources(dir: &Path) -> Result<RawAst>
Expand description

Parse a project: the .fis, then each protection domain’s .fi, in PD order, each file read once.

§Errors

In this order, the first stopping the stage: the .fis does not parse; a protection domain has no <name>.fi or is declared more than once (all reported together); a .fi does not parse or imports a file fic cannot read.