Antlr postgresqlparser.java не идентифицируется в Postgresqlparserbase.java Inspet of Cescessl CompileJAVA

Программисты JAVA общаются здесь
Anonymous
Antlr postgresqlparser.java не идентифицируется в Postgresqlparserbase.java Inspet of Cescessl Compile

Сообщение Anonymous »

Я новичок в Antlr4, и я пытался создать анализатор Postgres, для которого я использовал грамматические файлы и. I followed the below steps.
Please note all the files are used from master branch: https://github.com/antlr/grammars-v4/tr ... resql/Java
  • copied the Grammer Files .g4 Файлы в папку "src/main/antlr4/com/rr/sqlparser/grammar". Postgresqlparserbase.java в пакете "src/main/java/com/rr/sqlparser/grammar"
  • выполнил команду «MVN Clean Compil», а компилированное произошло успешно. also it was added as the sources in Project module.
  • After the above steps are done I'm still getting the error in imy IntelliJ in my PostgreSQLParserBase.java that Cannot resolve symbol 'PostgreSQLParser'
Please help or guide me as in what's the step that I'm missing or is this a issue in code files ?



Подробнее здесь: https://stackoverflow.com/questions/797 ... rserbase-j

Вернуться в «JAVA»