class Asciidoctor::Extensions::TreeProcessor
Public: TreeProcessors are run on the Document
after the source has been parsed into an abstract syntax tree (AST), as represented by the Document
object and its child Node objects (e.g., Section
, Block
, List
, ListItem
).
Asciidoctor
invokes the {Processor#process} method on an instance of each registered TreeProcessor
.
TreeProcessor
implementations must extend TreeProcessor
.
Constants
Public Instance Methods
process(document)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 334 def process document raise ::NotImplementedError, %(Asciidoctor::Extensions::TreeProcessor subclass must implement ##{__method__} method) end