1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::expression::Statement;
use crate::CodeBuffer;

/// An empty line of code.
#[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, Default)]
pub struct EmptyLine {
    _nothing: (),
}

impl Statement for EmptyLine {
    fn write(&self, b: &mut CodeBuffer, _level: usize) {
        b.end_line();
    }
}