Struct menhir_runtime::lexing::UnexpectedEof
[−]
[src]
pub struct UnexpectedEof<Location>(pub Location);
This error indicates that the lexer reached the end of the input stream while the parser was still expecting input.
It is used when using an IteratorLexer
as input, if the underlying
iterator returns None
. It can also be used to report the end of the
stream when implementing a custom Lexer
.
Trait Implementations
impl<Location: Clone> Clone for UnexpectedEof<Location>
[src]
fn clone(&self) -> UnexpectedEof<Location>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more