clarity-pattern-parser 10.3.3 → 10.3.4

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": "clarity-pattern-parser",
3
- "version": "10.3.3",
3
+ "version": "10.3.4",
4
4
  "description": "Parsing Library for Typescript and Javascript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -116,6 +116,7 @@ export class ExpressionPattern implements Pattern {
116
116
  const unaryPrefix = this._extractUnaryPrefixPattern(pattern).clone();
117
117
  this._unaryPrefixPatterns.push(pattern);
118
118
  this._unaryPrefixNames.push(pattern.name);
119
+ unaryPrefix.parent = this;
119
120
 
120
121
  finalPatterns.push(unaryPrefix);
121
122
  } else if (this._isBinary(pattern)) {