Add an enum for exit class.
This commit is contained in:
parent
98a46cd707
commit
fcd5c7d3cd
10
src/parser/exiting.rs
Normal file
10
src/parser/exiting.rs
Normal 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,
|
||||
}
|
@ -3,6 +3,7 @@ mod document;
|
||||
mod drawer;
|
||||
mod element;
|
||||
mod error;
|
||||
mod exiting;
|
||||
mod footnote_definition;
|
||||
mod greater_block;
|
||||
mod greater_element;
|
||||
|
Loading…
Reference in New Issue
Block a user