PythonParser { public AstNode parse(String source) { return sslrParser.parse(source); } private  PythonParser(); static PythonParser create(); AstNode parse(String source); void setRootRule(Rule rule); Grammar getGrammar(); RuleDefinition getRootRule();  }
@Test public void test() throws Exception { Collection<File> files = listFiles(); for (File file : files) { String fileContent = new String(Files.readAllBytes(file.toPath()), UTF_8); parser.parse(fileContent); } }