15 lines
389 B
Rust
15 lines
389 B
Rust
use crate::lst_parser::syntax_kind::SyntaxKind;
|
|
|
|
#[derive(Debug, PartialEq, Eq, Clone)]
|
|
pub enum SyntaxError {
|
|
Expected(Vec<SyntaxKind>),
|
|
PipelineNeedsSink,
|
|
// if there was two space seperated items in a list
|
|
SpaceSepInList,
|
|
SemicolonInList,
|
|
CommaInMatOrVec,
|
|
UnterminatedTopLevelItem,
|
|
UnclosedModuleBody,
|
|
UnfinishedPath,
|
|
PathSepContainsSemicolon,
|
|
}
|