getTree

open fun getTree(state: EditorState): Tree

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.