Building the plain list item context.
This commit is contained in:
@@ -106,9 +106,14 @@ impl<'r, 's> ContextTree<'r, 's> {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum ContextElement<'r, 's> {
|
||||
/// Stores a reference to the entire org-mode document being parsed.
|
||||
///
|
||||
/// This is used for look-behind.
|
||||
DocumentRoot(&'s str),
|
||||
ExitMatcherNode(ExitMatcherNode<'r>),
|
||||
Context(&'r str),
|
||||
|
||||
/// Stores the indentation level of the current list item
|
||||
ListItem(usize),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user