11 lines
282 B
Rust
11 lines
282 B
Rust
use crate::syntax_kind::SyntaxKind;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
pub enum SyntaxError {
|
|
UnclosedObject,
|
|
UnclosedArray,
|
|
DisallowedKeyType(SyntaxKind),
|
|
MemberMissingValue,
|
|
UnexpectedTrailingComma,
|
|
}
|
|
impl pawarser::parser::SyntaxError for SyntaxError {}
|