Trait SourceTrait

Source
pub trait SourceTrait {
    // Required methods
    fn included(&self) -> &Vec<SourceFile>;
    fn syntax_ast(&self) -> &ParseOrErrors<SourceFile>;
    fn print_syntax_errors(&self);
    fn file_path(&self) -> PathBuf;

    // Provided method
    fn any_parse_errors(&self) -> bool { ... }
}

Required Methods§

Provided Methods§

Source

fn any_parse_errors(&self) -> bool

Return true if the source file or any included files produced a parse error.

Implementors§