Skip to main content

parse

Function parse 

Source
pub fn parse(
    src: &str,
    file: &Path,
    path: PathBuf,
    lang: ForeignLang,
    includes: &[PathBuf],
) -> Result<ForeignModule, String>
Expand description

Read one imported file with its language’s Reader.

§Errors

The reader’s: for C, libclang could not be loaded.