Re: [dev] Reorganization of the AsciidoctorJ AST data structures
Posted by domgold on Apr 15, 2015; 7:48pm
URL: https://discuss.asciidoctor.org/dev-Reorganization-of-the-AsciidoctorJ-AST-data-structures-tp2991p2992.html
Hi Robert,
Great news, I'm looking forward to using this new API !
As you are asking for suggestions and ideas, here is one regarding 'AbstractBlock'.
To me, 'abstract' sounds weird here, as it makes me think of an abstract class, where it is really an interface. Interfaces are always abstract in Java.
I would prefer **BlockNode**.
It aligns better with 'InlineNode' or 'ListNode' ('ListNode extends BlockNode', 'Block extends BlockNode' sounds better than 'ListNode extends AbstractBlock', 'Block extends AbstractBlock').
Cheers
Dominik