Login  Register

Re: [dev] Announcement: Renaming of the AST classes. Concerns all extension and converter writers!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [dev] Announcement: Renaming of the AST classes. Concerns all extension and converter writers!

LightGuardjp
354 posts
Is the core undergoing the same renaming, @mojavelinux?

On Wed, Oct 7, 2015 at 12:42 PM, Robert.Panzer [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

so we finally have a result for the class names of the AST data structures!
This is basically (left old, right new names):

AbstractNode                        ContentNode             
  +- AbstractBlock                   +- StructuralNode
  |   +- Block                       |   +- Block
  |   +- Section         =>          |   +- Section         
  |   +- Document  (Class)           |   +- Document (Interface)
  |   +- ListNode                    |   +- List
  |   +- ListItem                    |   +- ListItem
  |                                  |   +- Table
  +- Inline                          +- PhraseNode

I will merge the respective PR [1] over the weekend.
So in case you have written an extension based on snapshots of the asciidoctorj-1.6.0 branch, this will break your code!!!
You will have to align it to this renaming!!!
This is also the case if you use the 1.6.0-SNAPSHOT versions from oss.jfrog.org.

If you have written extensions for AsciidoctorJ 1.5.2 you are fine, but please be aware of the change once you want to upgrade to 1.6.0.

We're also planning to cut a first alpha release in the next few weeks, so you will also be able to enjoy the evolution of AsciidoctorJ via jcenter.

Best regards
Robert

[1] https://github.com/asciidoctor/asciidoctorj/pull/371


To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [dev] Announcement: Renaming of the AST classes. Concerns all extension and converter writers!

mojavelinux
Administrator
2681 posts

On Wed, Oct 7, 2015 at 4:36 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is the core undergoing the same renaming, @mojavelinux?

Not at this point. It will probably happen when we do the inline parsing of the AST, which is probably going to be Asciidoctor 2. More details on that plan are forthcoming (I first need to focus on the 1.5.3 release).

Cheers,

-Dan


--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen