Closed nupthale closed 1 year ago
My error hits 287- 294 line, EmbeddedActionsParser.outputCst is false, so it just throw an error, but CstParser has a partialCstResult, I guess this cause the difference:
Should code in 297 line changed to call recoveryValueFunc instead of just throw Error ?
Hello @nupthale
I am unfortunately quite rusty in regards to the EmbeddedActionsParser + error recovery as I do not think I have used a none CST parser in years...
Could you take a look at the test examples for your scenario and see if they help clear things up
ok, thanks
i have 2 parser, an EmbeddedActionsParser and a CstParser, both open recoveryEnabled;
When encounter error: CstParser - console.log(tree)
EmbeddedActionsParser - console.log(tree)
Does EmbeddedActionsParser support recovery? What should i do to make the recovery work?