Add an enum for exit class.

This commit is contained in:
Tom Alexander 2023-04-17 21:16:39 -04:00
parent 98a46cd707
commit fcd5c7d3cd
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 11 additions and 0 deletions

10
src/parser/exiting.rs Normal file
View File

@ -0,0 +1,10 @@
pub enum ExitClass {
/// Headlines and sections.
Document,
/// Elements who take priority over beta elements when matching.
Alpha,
/// Elements who cede priority to alpha elements when matching.
Beta,
}

View File

@ -3,6 +3,7 @@ mod document;
mod drawer;
mod element;
mod error;
mod exiting;
mod footnote_definition;
mod greater_block;
mod greater_element;