lark
lark copied to clipboard
Wrong type hit when transformer is provided
When transformer is provided to the Parser constructor, the parse method may no longer return the parse 'ParseTree'
Yes, that's true. Ideally parse should take a generic based on the transformer parameter (if given), and return the return type of its transform().