Basic implementation of greater block parser.
This commit is contained in:
@@ -128,6 +128,9 @@ pub enum ContextElement<'r, 's> {
|
||||
|
||||
/// Stores the indentation level of the current list item
|
||||
ListItem(usize),
|
||||
|
||||
/// Stores the name of the greater block
|
||||
GreaterBlock(&'s str),
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
@@ -138,8 +141,6 @@ pub struct ExitMatcherNode<'r> {
|
||||
#[derive(Clone)]
|
||||
pub enum ChainBehavior<'r> {
|
||||
AndParent(Option<&'r Matcher>),
|
||||
|
||||
#[allow(dead_code)] // Will be used when inside code/quote blocks
|
||||
IgnoreParent(Option<&'r Matcher>),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user