texlab/syntax.rs
1pub mod bibtex;
2pub mod latex;
3
4#[derive(Debug, PartialEq, Eq, Clone, Copy, PartialOrd, Ord, Hash)]
5pub enum BuildErrorLevel {
6 Error,
7 Warning,
8}
9
10#[derive(Debug, PartialEq, Eq, Clone, Hash)]
11pub struct BuildError {
12 pub relative_path: std::path::PathBuf,
13 pub level: BuildErrorLevel,
14 pub message: String,
15 pub hint: Option<String>,
16 pub line: Option<u32>,
17}
18
19#[derive(Debug, PartialEq, Eq, Clone, Hash)]
20pub struct BuildLog {
21 pub errors: Vec<BuildError>,
22}