AbstractAbstractcreateStart a parse for a single tree. This is the method concrete
parser implementations must implement. Called by startParse,
with the optional arguments resolved.
Run a full parse, returning the resulting tree.
Optionalfragments: readonly TreeFragment[]Optionalranges: readonly { from: number; to: number }[]Start a parse, returning a partial parse
object. fragments can be passed in to
make the parse incremental.
By default, the entire input is parsed. You can pass ranges,
which should be a sorted array of non-empty, non-overlapping
ranges, to parse only those ranges. The tree returned in that
case will start at ranges[0].from.
Optionalfragments: readonly TreeFragment[]Optionalranges: readonly { from: number; to: number }[]
A superclass that parsers should extend.