Enum js::syntax::parser::ParseError [−][src]
pub enum ParseError { Expected(Vec<TokenData>, Token, &'static str), ExpectedExpr(&'static str, Expr), UnexpectedKeyword(Keyword), AbruptEnd, }
An error encounted during parsing an expression
Variants
Expected(Vec<TokenData>, Token, &'static str)
When it expected a certain kind of token, but got another as part of something
ExpectedExpr(&'static str, Expr)
When it expected a certain expression, but got another
UnexpectedKeyword(Keyword)
When it didn't expect this keyword
AbruptEnd
When there is an abrupt end to the parsing
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError