405406407408409410411412413414415
final GeneratedJavaRecognizer parser = new GeneratedJavaRecognizer(lexer); parser.setFilename(aContents.getFilename()); parser.setASTNodeClass(DetailAST.class.getName()); parser.compilationUnit(); return (DetailAST) parser.getAST(); } @Override
472473474475476477478479480481482
final GeneratedJavaRecognizer parser = new GeneratedJavaRecognizer(lexer); parser.setFilename(aContents.getFilename()); parser.setASTNodeClass(DetailAST.class.getName()); parser.compilationUnit(); return (DetailAST) parser.getAST(); } /** {@inheritDoc} */
574575576577578579580581582583584
aSilentlyConsumeErrors ? new SilentJavaRecognizer(lexer) : new GeneratedJavaRecognizer(lexer); parser.setFilename(aContents.getFilename()); parser.setASTNodeClass(DetailAST.class.getName()); parser.compilationUnit(); return (DetailAST) parser.getAST(); } /** {@inheritDoc} */
496497498499500501502503504505506
final GeneratedJavaRecognizer parser = new GeneratedJavaRecognizer(filter); parser.setFilename(aContents.getFilename()); parser.setASTNodeClass(DetailAST.class.getName()); parser.compilationUnit(); return (DetailAST) parser.getAST(); } @Override
567568569570571572573574575576577