clarity-pattern-parser 10.3.0 → 10.3.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/dist/index.browser.js +3 -2
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/patterns/ExpressionPattern.test.ts +38 -0
- package/src/patterns/ExpressionPattern.ts +3 -2
package/dist/index.browser.js
CHANGED
|
@@ -2899,7 +2899,6 @@
|
|
|
2899
2899
|
lastChild.name === this.name;
|
|
2900
2900
|
}
|
|
2901
2901
|
parse(cursor) {
|
|
2902
|
-
// This is a cache to help with speed
|
|
2903
2902
|
this._firstIndex = cursor.index;
|
|
2904
2903
|
depthCache.incrementDepth(this._id, this._firstIndex);
|
|
2905
2904
|
this._firstIndex = cursor.index;
|
|
@@ -2997,7 +2996,9 @@
|
|
|
2997
2996
|
}
|
|
2998
2997
|
break outer;
|
|
2999
2998
|
}
|
|
3000
|
-
|
|
2999
|
+
onIndex = cursor.index;
|
|
3000
|
+
i = -1;
|
|
3001
|
+
continue;
|
|
3001
3002
|
}
|
|
3002
3003
|
}
|
|
3003
3004
|
cursor.resolveError();
|