Function solar_pcx_from_solc_project

Source
pub fn solar_pcx_from_solc_project<'sess>(
    sess: &'sess Session,
    project: &Project,
    solc: &SolcVersionedInput,
    add_source_files: bool,
) -> ParsingContext<'sess>
Expand description

Builds a Solar [solar_sema::ParsingContext] from a [foundry_compilers::Project] and a [SolcVersionedInput].

  • Configures include paths, remappings.
  • Source files can be manually added if the param add_source_file is set to false.