I have defined a lezer grammar. I want to retrieve the parse tree of the lezer grammar. In lezer debug view ? a method syntaxTree(editorState)
is shown – but I do not know if that method is O(1) or if it is O(n), reparsing the editor state
Question: Is there an O(1) way of retrieving the lezer parse tree ?