Struct arrow_parser::error::SyntaxError
source · pub struct SyntaxError {
pub source: SourceRange,
pub typ: SyntaxErrorType,
pub actual_token: Option<TokenType>,
}
Fields§
§source: SourceRange
§typ: SyntaxErrorType
§actual_token: Option<TokenType>
Implementations§
source§impl SyntaxError
impl SyntaxError
pub fn new( typ: SyntaxErrorType, source: SourceRange, actual_token: Option<TokenType> ) -> SyntaxError
pub fn from_loc( loc: SourceRange, typ: SyntaxErrorType, actual_token: Option<TokenType> ) -> SyntaxError
Trait Implementations§
source§impl Clone for SyntaxError
impl Clone for SyntaxError
source§fn clone(&self) -> SyntaxError
fn clone(&self) -> SyntaxError
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 more