@zvenigora/ng-eval-core 0.13.3 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zvenigora/ng-eval-core",
3
- "version": "0.13.3",
3
+ "version": "0.14.1",
4
4
  "description": "An expression evaluator for Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -2183,11 +2183,29 @@ declare class ParserService implements OnDestroy {
2183
2183
  private _cacheCleanupInterval?;
2184
2184
  private _isDestroyed;
2185
2185
  /**
2186
- * Gets the parser options.
2186
+ * Gets the parser options: the constructor's, or the last value given to
2187
+ * the setter.
2187
2188
  */
2188
2189
  get parserOptions(): ParserOptions;
2189
2190
  /**
2190
- * Sets the parser options.
2191
+ * Sets the parser options for direct `ParserService.parse` calls, which
2192
+ * merge the options they are given over this value, the call's key winning,
2193
+ * for every key but `cacheSize`.
2194
+ *
2195
+ * `EvalService`, `CompilerService` and `DiscoveryService` pass their own
2196
+ * options on every parse, and those carry every key of
2197
+ * `defaultParserOptions`, so for each of them the service's key wins over
2198
+ * this value, `cacheSize` again aside. Only `cacheSize` and a key
2199
+ * `defaultParserOptions` does not carry reach those services through the
2200
+ * setter: `colonIdentifiers` is the one the README relies on
2201
+ * (`docs/backlog-retired.md` A30).
2202
+ *
2203
+ * `cacheSize` is read from this value alone, never from a call's or a
2204
+ * service's options. It sizes the parse cache once, at construction, and a
2205
+ * later value does not resize it. Whether a parse uses the cache is read
2206
+ * from it on every parse, so a later falsy one stops every parse using the
2207
+ * cache, the services' included.
2208
+ *
2191
2209
  * @param value The parser options to set.
2192
2210
  */
2193
2211
  set parserOptions(value: ParserOptions);