clarity-pattern-parser 10.2.6 → 10.2.8
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 +9 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +9 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/patterns/ExpressionPattern.ts +10 -1
package/dist/index.js
CHANGED
|
@@ -2906,6 +2906,15 @@ class ExpressionPattern {
|
|
|
2906
2906
|
const recursiveNode = createNode(name, [lastUnaryNode, ...node.children]);
|
|
2907
2907
|
recursiveNode.normalize(lastUnaryNode.startIndex);
|
|
2908
2908
|
lastUnaryNode = recursiveNode;
|
|
2909
|
+
if (cursor.hasNext()) {
|
|
2910
|
+
cursor.next();
|
|
2911
|
+
}
|
|
2912
|
+
else {
|
|
2913
|
+
if (lastBinaryNode != null) {
|
|
2914
|
+
lastBinaryNode.appendChild(lastUnaryNode);
|
|
2915
|
+
}
|
|
2916
|
+
break outer;
|
|
2917
|
+
}
|
|
2909
2918
|
break;
|
|
2910
2919
|
}
|
|
2911
2920
|
}
|