Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10e803e
commit 1a86603
Showing
129 changed files
with
14,646 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...es/experimental/class-private-names-duplicated/instance-field-instance-field/options.json
This file was deleted.
Oops, something went wrong.
224 changes: 224 additions & 0 deletions
224
...res/experimental/class-private-names-duplicated/instance-field-instance-field/output.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,224 @@ | ||
{ | ||
"type": "File", | ||
"start": 0, | ||
"end": 31, | ||
"loc": { | ||
"start": { | ||
"line": 1, | ||
"column": 0 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 1 | ||
} | ||
}, | ||
"errors": [ | ||
"SyntaxError: Duplicate private name #x (3:2)" | ||
], | ||
"program": { | ||
"type": "Program", | ||
"start": 0, | ||
"end": 31, | ||
"loc": { | ||
"start": { | ||
"line": 1, | ||
"column": 0 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 1 | ||
} | ||
}, | ||
"sourceType": "script", | ||
"interpreter": null, | ||
"body": [ | ||
{ | ||
"type": "ClassDeclaration", | ||
"start": 0, | ||
"end": 31, | ||
"loc": { | ||
"start": { | ||
"line": 1, | ||
"column": 0 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 1 | ||
} | ||
}, | ||
"id": { | ||
"type": "Identifier", | ||
"start": 6, | ||
"end": 7, | ||
"loc": { | ||
"start": { | ||
"line": 1, | ||
"column": 6 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 7 | ||
}, | ||
"identifierName": "A" | ||
}, | ||
"name": "A" | ||
}, | ||
"superClass": null, | ||
"body": { | ||
"type": "ClassBody", | ||
"start": 8, | ||
"end": 31, | ||
"loc": { | ||
"start": { | ||
"line": 1, | ||
"column": 8 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 1 | ||
} | ||
}, | ||
"body": [ | ||
{ | ||
"type": "ClassPrivateProperty", | ||
"start": 12, | ||
"end": 19, | ||
"loc": { | ||
"start": { | ||
"line": 2, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 2, | ||
"column": 9 | ||
} | ||
}, | ||
"static": false, | ||
"key": { | ||
"type": "PrivateName", | ||
"start": 12, | ||
"end": 14, | ||
"loc": { | ||
"start": { | ||
"line": 2, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 2, | ||
"column": 4 | ||
} | ||
}, | ||
"id": { | ||
"type": "Identifier", | ||
"start": 13, | ||
"end": 14, | ||
"loc": { | ||
"start": { | ||
"line": 2, | ||
"column": 3 | ||
}, | ||
"end": { | ||
"line": 2, | ||
"column": 4 | ||
}, | ||
"identifierName": "x" | ||
}, | ||
"name": "x" | ||
} | ||
}, | ||
"value": { | ||
"type": "NumericLiteral", | ||
"start": 17, | ||
"end": 18, | ||
"loc": { | ||
"start": { | ||
"line": 2, | ||
"column": 7 | ||
}, | ||
"end": { | ||
"line": 2, | ||
"column": 8 | ||
} | ||
}, | ||
"extra": { | ||
"rawValue": 0, | ||
"raw": "0" | ||
}, | ||
"value": 0 | ||
} | ||
}, | ||
{ | ||
"type": "ClassPrivateProperty", | ||
"start": 22, | ||
"end": 29, | ||
"loc": { | ||
"start": { | ||
"line": 3, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 3, | ||
"column": 9 | ||
} | ||
}, | ||
"static": false, | ||
"key": { | ||
"type": "PrivateName", | ||
"start": 22, | ||
"end": 24, | ||
"loc": { | ||
"start": { | ||
"line": 3, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 3, | ||
"column": 4 | ||
} | ||
}, | ||
"id": { | ||
"type": "Identifier", | ||
"start": 23, | ||
"end": 24, | ||
"loc": { | ||
"start": { | ||
"line": 3, | ||
"column": 3 | ||
}, | ||
"end": { | ||
"line": 3, | ||
"column": 4 | ||
}, | ||
"identifierName": "x" | ||
}, | ||
"name": "x" | ||
} | ||
}, | ||
"value": { | ||
"type": "NumericLiteral", | ||
"start": 27, | ||
"end": 28, | ||
"loc": { | ||
"start": { | ||
"line": 3, | ||
"column": 7 | ||
}, | ||
"end": { | ||
"line": 3, | ||
"column": 8 | ||
} | ||
}, | ||
"extra": { | ||
"rawValue": 0, | ||
"raw": "0" | ||
}, | ||
"value": 0 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"directives": [] | ||
} | ||
} |
4 changes: 0 additions & 4 deletions
4
...ures/experimental/class-private-names-duplicated/instance-field-instance-get/options.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.