Hello, thank you very much for providing a great library.
However, during my specific use, I found that there were occasional parsing errors, especially when parsing C++ due to the complexity of the syntax, which can easily lead to some inconsistencies with expectations.
This kind of problem usually occurs in a complex grammatical structure, and if the problematic node content is parsed separately, it is correct.
Expected behavior
I hope you can provide a function that allows manual replacement of specific Node nodes. This method is equivalent to patching specific error results, which is easier to implement than directly modifying the language's grammar.js requirements.
Through the analysis of this patch method, it will be cleaner than the later conversion process.
Problem
Hello, thank you very much for providing a great library. However, during my specific use, I found that there were occasional parsing errors, especially when parsing C++ due to the complexity of the syntax, which can easily lead to some inconsistencies with expectations. This kind of problem usually occurs in a complex grammatical structure, and if the problematic node content is parsed separately, it is correct.
Expected behavior
I hope you can provide a function that allows manual replacement of specific Node nodes. This method is equivalent to patching specific error results, which is easier to implement than directly modifying the language's grammar.js requirements. Through the analysis of this patch method, it will be cleaner than the later conversion process.