[][src]Struct rustpython_compiler::error::CompileError

pub struct CompileError {
    pub statement: Option<String>,
    pub error: CompileErrorType,
    pub location: Location,
    pub source_path: Option<String>,
}

Fields

statement: Option<String>error: CompileErrorTypelocation: Locationsource_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]

impl From<ParseError> for CompileError[src]

impl From<SymbolTableError> for CompileError[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.