forceParsing

Force a complete re-parse of the document. If an async parse is in progress, this blocks until parsing is complete and returns the up-to-date tree.

This function is provided for API compatibility with upstream CodeMirror.