spyzhov/ajson

Make Node's position attributes public

Opened this issue · 1 comments

Currently there is no simple way to get Node position in the original text. There is a borders property, but it is private and can't be accessed without reflection.
It would be great to add methods for offset from and offset to of the node.

Hello, yes, it can be shared, but only for "not dirty" nodes which were not updated.