PsiParser (Project project) { return new PsiParser() { @Override public @NotNull ASTNode parse(IElementType root, PsiBuilder builder) { return new DtdParsing(root, XmlEntityDecl.EntityContextType.GENERIC_XML, builder).parse(); } }; }