Login  Register

Re: Chain processors - can we ?

Posted by David Jencks on Apr 09, 2020; 4:41pm
URL: https://discuss.asciidoctor.org/Chain-processors-can-we-tp7870p7871.html

No.  However the processors are registered has no effect on what stage of parsing they are called during.

David Jencks

On Apr 9, 2020, at 9:38 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Hi

Can we chain the processors in such a way that BlockProcessor will be processed after the TreeProcessor ?

Example:
        // Include the Table extension
        asciidoctor.javaExtensionRegistry()
                .treeprocessor(FindRolesTreeProcessor.class)
                .block(GenerateTableBlockProcessor.class);
...

Best

Charles



Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist
Twitter : @cmoulliard



If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Chain-processors-can-we-tp7870.html
To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML