Trait lang_util::error::LexicalError[][src]

pub trait LexicalError: Error {
    fn location(&self) -> LexerPosition;
}

An error produced by lexical analysis

Required methods

fn location(&self) -> LexerPosition[src]

Return the location at which this error occurred

Returns

LexerPosition structure that indicates at which offset in the input the error occurred.

Loading content...

Implementors

Loading content...