Add an enum for exit class.
This commit is contained in:
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,
|
||||
}
|
||||
Reference in New Issue
Block a user