[−][src]Struct rustpython_compiler::error::CompileError
Fields
statement: Option<String>
error: CompileErrorType
location: Location
source_path: Option<String>
Methods
impl CompileError
[src]
pub fn update_statement_info(&mut self, statement: String)
[src]
pub fn update_source_path(&mut self, source_path: &str)
[src]
impl CompileError
[src]
pub fn is_indentation_error(&self) -> bool
[src]
pub fn is_tab_error(&self) -> bool
[src]
Trait Implementations
impl Debug for CompileError
[src]
impl Display for CompileError
[src]
impl Error for CompileError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<ParseError> for CompileError
[src]
fn from(error: ParseError) -> Self
[src]
impl From<SymbolTableError> for CompileError
[src]
fn from(error: SymbolTableError) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompileError
impl Send for CompileError
impl Sync for CompileError
impl Unpin for CompileError
impl UnwindSafe for CompileError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,