StreamLanguage
A Language class based on a CodeMirror 5-style StreamParser.
Functions
Link copied to clipboard
Parse the document in state, threading the state's tabSize and indentUnit into the stream parser so tokens are measured correctly.
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.