myFile = createPsiFile("empty.bnf", "{ }");
newTestGenerator().generate();
}
private ParserGenerator newTestGenerator() {
return new ParserGenerator((BnfFileImpl)myFile, "", myFullDataPath) {
@Override
protected PrintWriter openOutputInner(File file) throws IOException {
String grammarName = FileUtil.getNameWithoutExtension(myFile.getName());
String fileName = FileUtil.getNameWithoutExtension(file);