1 2 3 4 5 6 7
use crate::CodeBuffer;
/// Represents a code statement.
pub trait Statement {
/// Writes the statement to the code buffer at the indent level.
fn write(&self, b: &mut CodeBuffer, level: usize);
}
1 2 3 4 5 6 7
use crate::CodeBuffer;
/// Represents a code statement.
pub trait Statement {
/// Writes the statement to the code buffer at the indent level.
fn write(&self, b: &mut CodeBuffer, level: usize);
}