Enum python_parser::ast::Statement[][src]

pub enum Statement {
    Pass,
    Del(Vec<Expression>),
    Break,
    Continue,
    Return(Vec<Expression>),
    RaiseExcFrom(ExpressionExpression),
    RaiseExc(Expression),
    Raise,
    Global(Vec<Name>),
    Nonlocal(Vec<Name>),
    Assert(ExpressionOption<Expression>),
    Import(Import),
    Expressions(Vec<Expression>),
    Assignment(Vec<Expression>, Vec<Vec<Expression>>),
    TypedAssignment(Vec<Expression>, ExpressionVec<Expression>),
    AugmentedAssignment(Vec<Expression>, AugAssignOpVec<Expression>),
    Compound(Box<CompoundStatement>),
}

A Python statement.

Variants

Trait Implementations

impl Clone for Statement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Statement
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Statement
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Statement

impl Sync for Statement