@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/CHANGELOG.md +116 -2
- package/README.md +17 -4
- package/fesm2022/zvenigora-ng-eval-core.mjs +282 -70
- package/fesm2022/zvenigora-ng-eval-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/zvenigora-ng-eval-core.d.ts +20 -2
package/package.json
CHANGED
|
@@ -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);
|