Struct pythonic::block::Block
[−]
[src]
pub struct Block { pub indentation: usize, pub statements: Vec<Statement>, }
Fields
indentation: usize
statements: Vec<Statement>
Methods
impl Block
[src]
fn new() -> Block
fn new_with_parent(parent: &Block) -> Block
fn add_function(&mut self, function: Function)
fn add_statement(&mut self, statement: Statement)
fn indentation(&self) -> String
Trait Implementations
impl Debug for Block
[src]
impl Clone for Block
[src]
fn clone(&self) -> Block
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more