1
2
3
4
5
6
7
use crate::CodeBuffer;

/// A code statement. (code that spans one or more lines)
pub trait Statement {
    /// Writes the statement to the code buffer at the indent level.
    fn write(&self, b: &mut CodeBuffer, level: usize);
}