InlineParsingMethod

Type Alias InlineParsingMethod 

Source
pub type InlineParsingMethod = fn(opt_doctree_ref: &mut Option<&mut DocTree>, pattern_name: Pattern, captures: &Captures<'_>) -> (Vec<TreeNodeType>, usize);
Expand description

A type alias for a function describing an inline transition. Returns a node a length of the match, so that the inline parser could determine how many characters to eat off the start of the source string.