clarity-pattern-parser 10.2.2 → 10.2.3
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/patterns/ExpressionPattern.ts +1 -1
package/dist/index.browser.js
CHANGED
|
@@ -2818,7 +2818,7 @@
|
|
|
2818
2818
|
return pattern.type === "sequence" &&
|
|
2819
2819
|
pattern.children[0].type === "reference" &&
|
|
2820
2820
|
pattern.children[0].name === this.name &&
|
|
2821
|
-
pattern.children.length >
|
|
2821
|
+
pattern.children.length > 1;
|
|
2822
2822
|
}
|
|
2823
2823
|
_extractRecursiveTail(pattern) {
|
|
2824
2824
|
if (pattern.type === "right-associated") {
|
package/dist/index.esm.js
CHANGED
|
@@ -2812,7 +2812,7 @@ class ExpressionPattern {
|
|
|
2812
2812
|
return pattern.type === "sequence" &&
|
|
2813
2813
|
pattern.children[0].type === "reference" &&
|
|
2814
2814
|
pattern.children[0].name === this.name &&
|
|
2815
|
-
pattern.children.length >
|
|
2815
|
+
pattern.children.length > 1;
|
|
2816
2816
|
}
|
|
2817
2817
|
_extractRecursiveTail(pattern) {
|
|
2818
2818
|
if (pattern.type === "right-associated") {
|
package/dist/index.js
CHANGED
|
@@ -2816,7 +2816,7 @@ class ExpressionPattern {
|
|
|
2816
2816
|
return pattern.type === "sequence" &&
|
|
2817
2817
|
pattern.children[0].type === "reference" &&
|
|
2818
2818
|
pattern.children[0].name === this.name &&
|
|
2819
|
-
pattern.children.length >
|
|
2819
|
+
pattern.children.length > 1;
|
|
2820
2820
|
}
|
|
2821
2821
|
_extractRecursiveTail(pattern) {
|
|
2822
2822
|
if (pattern.type === "right-associated") {
|
package/package.json
CHANGED
|
@@ -178,7 +178,7 @@ export class ExpressionPattern implements Pattern {
|
|
|
178
178
|
return pattern.type === "sequence" &&
|
|
179
179
|
pattern.children[0].type === "reference" &&
|
|
180
180
|
pattern.children[0].name === this.name &&
|
|
181
|
-
pattern.children.length >
|
|
181
|
+
pattern.children.length > 1;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
private _extractRecursiveTail(pattern: Pattern) {
|