Page MenuHomePhabricator

Interfaces for ParserCache
Closed, DeclinedPublic


In order to reuse the existing ParserCache code for Parsoid output, we need to make ParserCache accept interfaces.

We need interfaces for (no names are final):

  • CacheableParserOutput
  • ParserCacheOptions
  • ParserCache itself (not really required though)

As an initial step the interfaces will be left unchanged from current interfaces of ParserOptions and ParserOutput, just only the methods required for ParserCache will be pulled out. Potentially, interface will also be changed/cleaned up.

Related Objects