clarity-pattern-parser 11.0.8 → 11.0.9
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/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/grammar/Grammar.ts +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3665,7 +3665,7 @@ class Grammar {
|
|
|
3665
3665
|
_saveConfigurableAnonymous(node) {
|
|
3666
3666
|
const nameNode = node.find(n => n.name === "name");
|
|
3667
3667
|
const name = nameNode.value;
|
|
3668
|
-
const anonymousNode = node.find(n => n.name === "
|
|
3668
|
+
const anonymousNode = node.find(n => n.name === "configurable-anonymous-pattern");
|
|
3669
3669
|
const isOptional = node.children[1] != null;
|
|
3670
3670
|
const anonymous = isOptional ? new Optional(name, this._buildPattern(anonymousNode)) : this._buildPattern(anonymousNode);
|
|
3671
3671
|
this._parseContext.patternsByName.set(name, anonymous);
|