Trait code_gen::statements::Statement [−][src]
pub trait Statement {
fn write(&self, b: &mut CodeBuffer, level: usize);
}
Expand description
Represents a code statement.
Required methods
fn write(&self, b: &mut CodeBuffer, level: usize)
fn write(&self, b: &mut CodeBuffer, level: usize)
Writes the statement to the code buffer at the indent level.