Grammar-Kit
Grammar-Kit copied to clipboard
Fix false positive "Unresolved BNF References" for methods from `GeneratedParserUtilBase` if `parserUtilClass` does not inherit it
trafficstars
Let's process parser imports correctly. The patch is rather a hack to support that particular single case.
General fix:
Get all parser imports (no semicolons, btw), and cycle through static fqn.* and fqn.method entries.
Funny, but quoted idents with dots are not properly generated, so we can skip fqn imports.
Or they too can be supported, because <<<GeneratedParserUtilBase.eof>>> could work 😄 .
That's it