clarity-pattern-parser 9.2.3 → 9.2.5

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.esm.js CHANGED
@@ -183,8 +183,6 @@ class Node {
183
183
  type: this._type,
184
184
  name: this._name,
185
185
  value: this.toString(),
186
- firstIndex: this._firstIndex,
187
- lastIndex: this._lastIndex,
188
186
  startIndex: this.startIndex,
189
187
  endIndex: this.endIndex,
190
188
  children: this._children.map(c => c.toCycleFreeObject()),
@@ -2052,13 +2050,12 @@ const statement = new Options("statement", [assignStatement, name$1.clone("expor
2052
2050
 
2053
2051
  const bodyLineContent = new Options("body-line-content", [
2054
2052
  comment,
2055
- statement,
2056
- lineSpaces$1
2053
+ statement
2057
2054
  ]);
2058
2055
  const optionalLineSpaces$2 = new Optional("optional-line-spaces", lineSpaces$1);
2059
2056
  const bodyLine = new Sequence("body-line", [
2060
2057
  optionalLineSpaces$2,
2061
- bodyLineContent,
2058
+ new Optional("optional-body-line-content", bodyLineContent),
2062
2059
  optionalLineSpaces$2,
2063
2060
  ]);
2064
2061
  const body = new Optional("optional-body", new Repeat("body", bodyLine, { divider: newLine$1 }));