ParserCommon
Value members
Concrete methods
Positions tree.
If t
does not have a span yet, set its span to the given one.
Positions tree.
If t
does not have a span yet, set its span to the given one.
If the last read offset is strictly greater than start
, assign tree
the span from start
to last read offset, with given point.
If the last offset is less than or equal to start, the tree t
did not
consume any source for its construction. In this case, don't assign a span yet,
but wait for its span to be determined by setChildSpans
when the
parent node is positioned.
If the last read offset is strictly greater than start
, assign tree
the span from start
to last read offset, with given point.
If the last offset is less than or equal to start, the tree t
did not
consume any source for its construction. In this case, don't assign a span yet,
but wait for its span to be determined by setChildSpans
when the
parent node is positioned.
in.offset, except if this is at a new line, in which case lastOffset
is preferred.
in.offset, except if this is at a new line, in which case lastOffset
is preferred.
Issue an error at given offset if beyond last error offset and update lastErrorOffset.
Issue an error at given offset if beyond last error offset and update lastErrorOffset.