ParserHooks

case class ParserHooks(postProcessBlocks: Seq[Block] => Seq[Block], postProcessDocument: UnresolvedDocument => UnresolvedDocument, preProcessInput: DocumentInput => DocumentInput)

Hooks for markup parsers to control aspects beyond the individual span and block parsers defined for the host language.

Value parameters:
postProcessBlocks

function invoked for every block container, allowing post-processing of the result

postProcessDocument

function invoked after parsing but before rewriting, allowing to modify the document

preProcessInput

function invoked before parsing, allowing to pre-process the input

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Merges this instance with the specified base. The functions specified in the base are always invoked before the functions in this instance.

Merges this instance with the specified base. The functions specified in the base are always invoked before the functions in this instance.

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product