robinst
released this
21 Oct 12:24
·
11 commits
to main
since this release
Added
SourceSpan
on nodes now have agetInputIndex
to get the index within the
original input string (in addition to the existing line/column indexes).
This is useful when looking up the input source: It can now be done using
substring
instead of having to split the input into lines first (#348)- Configurable line break rendering for
TextContentRenderer
vialineBreakRendering
on the builder; e.g.LineBreakRendering.SEPARATE_BLOCKS
will render an empty
line between blocks (#344)
Changed
- Adopted small changes from OpenJDK vendoring to make updates easier for them (#343)
Fixed
- Enable overriding of built-in node rendering for
TextContentRenderer
(#346)