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.browser.js
CHANGED
|
@@ -2908,6 +2908,15 @@
|
|
|
2908
2908
|
const recursiveNode = createNode(name, [lastUnaryNode, ...node.children]);
|
|
2909
2909
|
recursiveNode.normalize(lastUnaryNode.startIndex);
|
|
2910
2910
|
lastUnaryNode = recursiveNode;
|
|
2911
|
+
if (cursor.hasNext()) {
|
|
2912
|
+
cursor.next();
|
|
2913
|
+
}
|
|
2914
|
+
else {
|
|
2915
|
+
if (lastBinaryNode != null) {
|
|
2916
|
+
lastBinaryNode.appendChild(lastUnaryNode);
|
|
2917
|
+
}
|
|
2918
|
+
break outer;
|
|
2919
|
+
}
|
|
2911
2920
|
break;
|
|
2912
2921
|
}
|
|
2913
2922
|
}
|