nl_tokens: Load a cache identified by the given Id . If the element does not exists then initialize an empty cache storage . If specified cacheDir will be used as the directory to persist the data to . If omitted then the cache module directory . / cache will be used instead
pl_tokens: function ( docId , cacheDir ) { var <mask> = this ; me . _visited = { } ; me . _persisted = { } ; me . _pathToFile = cacheDir ? path . resolve ( cacheDir , docId ) : path . resolve ( __dirname , './.cache/' , docId ) ; if ( fs . existsSync ( me . _pathToFile ) ) { me . _persisted = utils . tryParse ( me . _pathToFile , { } ) ; } }