Closed vsajip closed 5 months ago
FYI, in your CSharp reaper, line 30, you can simply write:
ClassDeclaration pc = cu.firstDescendantOfType(ClassDeclaration.class, Reaper::isParserClass);
if (pc == null) return;
and so on
Getting failures on Windows and JDK 17 combination only ... perhaps encoding related? Investigating.
These don't use the visitor pattern, but instead focus only on the Parser class, where almost all of the benefits are to be had. Unreferenced methods other than those in the parser API and unused first and follow sets are removed.