clarity-pattern-parser 9.2.3 → 9.2.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/dist/index.browser.js +2 -3
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/grammar/Grammar.test.ts +11 -0
- package/src/grammar/patterns/body.ts +2 -3
- package/src/grammar/patterns.test.ts +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2052,13 +2052,12 @@ const statement = new Options("statement", [assignStatement, name$1.clone("expor
|
|
|
2052
2052
|
|
|
2053
2053
|
const bodyLineContent = new Options("body-line-content", [
|
|
2054
2054
|
comment,
|
|
2055
|
-
statement
|
|
2056
|
-
lineSpaces$1
|
|
2055
|
+
statement
|
|
2057
2056
|
]);
|
|
2058
2057
|
const optionalLineSpaces$2 = new Optional("optional-line-spaces", lineSpaces$1);
|
|
2059
2058
|
const bodyLine = new Sequence("body-line", [
|
|
2060
2059
|
optionalLineSpaces$2,
|
|
2061
|
-
bodyLineContent,
|
|
2060
|
+
new Optional("optional-body-line-content", bodyLineContent),
|
|
2062
2061
|
optionalLineSpaces$2,
|
|
2063
2062
|
]);
|
|
2064
2063
|
const body = new Optional("optional-body", new Repeat("body", bodyLine, { divider: newLine$1 }));
|