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.
@@ -1,8 +1,6 @@
1
1
  export interface CycleFreeNode {
2
2
  type: string;
3
3
  name: string;
4
- firstIndex: number;
5
- lastIndex: number;
6
4
  startIndex: number;
7
5
  endIndex: number;
8
6
  value: string;
@@ -189,8 +189,6 @@
189
189
  type: this._type,
190
190
  name: this._name,
191
191
  value: this.toString(),
192
- firstIndex: this._firstIndex,
193
- lastIndex: this._lastIndex,
194
192
  startIndex: this.startIndex,
195
193
  endIndex: this.endIndex,
196
194
  children: this._children.map(c => c.toCycleFreeObject()),
@@ -2058,13 +2056,12 @@
2058
2056
 
2059
2057
  const bodyLineContent = new Options("body-line-content", [
2060
2058
  comment,
2061
- statement,
2062
- lineSpaces$1
2059
+ statement
2063
2060
  ]);
2064
2061
  const optionalLineSpaces$2 = new Optional("optional-line-spaces", lineSpaces$1);
2065
2062
  const bodyLine = new Sequence("body-line", [
2066
2063
  optionalLineSpaces$2,
2067
- bodyLineContent,
2064
+ new Optional("optional-body-line-content", bodyLineContent),
2068
2065
  optionalLineSpaces$2,
2069
2066
  ]);
2070
2067
  const body = new Optional("optional-body", new Repeat("body", bodyLine, { divider: newLine$1 }));