Repository navigation
Java parser partial reset - #2789
Conversation
188347d to
6f650bb
Compare
|
Wonder what you think of it... seems to work for us. |
|
Actually, no doesn't work for us... at least not yet :-\ |
6f650bb to
a1c5e48
Compare
|
The proposed "light" or "partial" parser reset does the following: However, the attached test and IDE integration seem to work if I limit the above to just: Feels like Anyway, "partial" reset in its current form perform and works fine. Mt test java source takes ~180ms to parse after |
|
@sambsnyd @jkschneider what do you think of this PR? Is this something that can be merged? |
|
Thank you for the contribution and sorry for the slow review, @BoykoAlex. No problems with this jump out at me. I don't know everything about Java compiler internals, but I see no reason to doubt that this is useful. |
Partial reset of the JavaParser to avoid exception urging to call
reset()