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

DSL

Public Instance Methods

process(document) click to toggle source
# File lib/asciidoctor/extensions.rb, line 405
def process document
  raise ::NotImplementedError, %(#{TreeProcessor} subclass #{self.class} must implement the ##{__method__} method)
end