pub fn solar_pcx_from_build_opts<'sess>(
sess: &'sess Session,
build: BuildOpts,
target_paths: Option<Vec<PathBuf>>,
) -> Result<ParsingContext<'sess>>
Expand description
Builds a Solar [solar_sema::ParsingContext
] from BuildOpts
.
- Configures include paths, remappings and registers all in-memory sources so that solar can operate without touching disk.
- If no
target_paths
are provided, all project files are processed. - Only processes the subset of sources with the most up-to-date Solitidy version.