[−][src]Enum rustpython_parser::ast::StatementType
Abstract syntax tree nodes for python statements.
Variants
Fields of Return
value: Option<Expression>
Fields of Import
names: Vec<ImportSymbol>
Fields of ImportFrom
Fields of Assert
test: Expression
msg: Option<Expression>
Fields of Delete
targets: Vec<Expression>
Fields of Assign
targets: Vec<Expression>
value: Expression
Fields of AugAssign
Fields of AnnAssign
Fields of Expression
expression: Expression
Fields of If
Fields of While
Fields of For
Fields of Raise
exception: Option<Expression>
cause: Option<Expression>
Fields of ClassDef
Fields of FunctionDef
is_async: bool
name: String
args: Box<Parameters>
body: Suite
decorator_list: Vec<Expression>
returns: Option<Expression>
Trait Implementations
impl PartialEq<StatementType> for StatementType
[src]
fn eq(&self, other: &StatementType) -> bool
[src]
fn ne(&self, other: &StatementType) -> bool
[src]
impl Debug for StatementType
[src]
Auto Trait Implementations
impl Send for StatementType
impl Unpin for StatementType
impl Sync for StatementType
impl UnwindSafe for StatementType
impl RefUnwindSafe for StatementType
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,