ReferenceDefinitionResolverHook
abstract class ReferenceDefinitionResolverHook<R, DN : Node, D>(context: MutableContext) : AstIteratorHook
Extensible hook that attempts associating a definition to each ReferenceNode. For example, footnotes, bibliography citations, etc. can be resolved to their definitions.
Parameters
R
the type of the reference element (for example com.quarkdown.core.ast.base.inline.ReferenceFootnote)
DN
the type of the node that carries the definition (for example com.quarkdown.core.ast.base.block.FootnoteDefinition)
D
the type of the definition to be ultimately associated with the reference
See also
Inheritors
Functions
Link copied to clipboard
Attaches this hook to the given iterator.