Skip to main content

preprocess_in

Function preprocess_in 

Source
pub fn preprocess_in(
    input: String,
    origin: Option<PathBuf>,
    includefolders: &IncludeFolders,
    warnings: &mut dyn WarningSink,
) -> Result<(String, PreprocessInfo), Error>
Expand description

Like preprocess, with the include folders given as an IncludeFolders, so that some of them can be checked directly instead of searched recursively.

ยงErrors

Returns an error on parse failures, unreadable includes or invalid include folders.