Struct hime_redist::errors::ParseErrorEndOfInput
source · pub struct ParseErrorEndOfInput { /* private fields */ }
Expand description
Represents the unexpected of the input text while more characters were expected
Implementations§
source§impl ParseErrorEndOfInput
impl ParseErrorEndOfInput
sourcepub fn new(position: TextPosition) -> ParseErrorEndOfInput
pub fn new(position: TextPosition) -> ParseErrorEndOfInput
Creates a new error
Trait Implementations§
source§impl Clone for ParseErrorEndOfInput
impl Clone for ParseErrorEndOfInput
source§fn clone(&self) -> ParseErrorEndOfInput
fn clone(&self) -> ParseErrorEndOfInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ParseErrorDataTrait for ParseErrorEndOfInput
impl ParseErrorDataTrait for ParseErrorEndOfInput
source§fn get_position(&self) -> TextPosition
fn get_position(&self) -> TextPosition
Gets the error’s position in the input
source§fn get_length(&self) -> usize
fn get_length(&self) -> usize
Gets the error’s length in the input (in number of characters)
source§fn get_message(&self) -> String
fn get_message(&self) -> String
Gets the error’s message