use crate::hbox::{DecoId, HookId, PureHorzBox};
use crate::length::Length;
#[derive(Clone, Debug, PartialEq, syan::visit::Ast)]
#[subast(crate::hbox::PureHorzBox)]
pub enum VertBox {
Line {
height: Length,
depth: Length,
leading: Length,
contents: Vec<(Length, PureHorzBox)>,
},
Skip(Length),
ParagTop(Length),
FramePad(Length),
ClearPage,
HookPageBreak(HookId),
FrameStart(DecoId),
FrameEnd(DecoId),
ListMark(ListMarkKind),
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum ListMarkKind {
ListStart { ordered: bool },
ListEnd,
ItemStart,
ItemEnd,
}