LRLanguage
Subclass of Language for LR-parser-based languages.
Provides additional functionality for reconfiguring the parser and integrating with languageDataProp.
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.