Language
A language object manages parsing and per-language metadata. Parse data is managed as a Lezer tree.
Inheritors
Functions
Link copied to clipboard
Parse the document in state and return the resulting syntax tree. Subclasses may override to pass additional context (e.g. tabSize) to the underlying parser.
Link copied to clipboard
Start an incremental parse of doc, reusing tree portions from fragments. Returns a PartialParse whose PartialParse.advance can be called repeatedly.