ParserCommon
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class JavaParserclass OutlineJavaParsertrait OutlineParserCommonclass OutlineParserclass Parserclass ScriptParserShow all
Members list
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.
Attributes
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.
Attributes
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.
Attributes
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.
Attributes
Unconditionally issue an error at given span, without updating lastErrorOffset.
Unconditionally issue an error at given span, without updating lastErrorOffset.
Attributes
Abstract fields
Concrete fields
The offset where the last syntax error was reported, or if a skip to a safepoint occurred afterwards, the offset of the safe point.
The offset where the last syntax error was reported, or if a skip to a safepoint occurred afterwards, the offset of the safe point.