Struct python_parser::ast::Try[][src]

pub struct Try {
    pub try_block: Vec<Statement>,
    pub except_clauses: Vec<(Expression, Option<Name>, Vec<Statement>)>,
    pub last_except: Vec<Statement>,
    pub else_block: Vec<Statement>,
    pub finally_block: Vec<Statement>,
}

A try block.

Fields

except 1 [as 2]: 3

Empty iff no except: clause.

Empty iff no else: clause.

Empty iff no finally: clause.

Trait Implementations

impl Clone for Try
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Try
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Try
[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 Try

impl Sync for Try