Enum ratel::error::ParseError
[−]
[src]
pub enum ParseError { UnexpectedEndOfProgram, UnexpectedToken { source: String, start: usize, end: usize, }, }
Error type returned by parser::parse
. This error will include
owned String
of the source code where the error occured, so
that a meaningful error can be printed out.
Variants
UnexpectedEndOfProgram
UnexpectedToken
Fields of UnexpectedToken
source: String | |
start: usize | |
end: usize |