Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 13, 2024
1 parent 8b3b1e1 commit 4af8c5e
Showing 1 changed file with 112 additions and 0 deletions.
112 changes: 112 additions & 0 deletions crates/swc_ecma_parser/tests/js/issue-5276/input.js.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"type": "Module",
"span": {
"start": 1,
"end": 63,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 1,
"end": 63,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 14,
"end": 21,
"ctxt": 0
},
"value": "MyClass",
"optional": false
},
"declare": false,
"span": {
"start": 8,
"end": 63,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 28,
"end": 61,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 47,
"end": 53,
"ctxt": 0
},
"value": "export",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 56,
"end": 60,
"ctxt": 0
},
"value": true
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [
{
"type": "Decorator",
"span": {
"start": 28,
"end": 42,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 29,
"end": 42,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 29,
"end": 40,
"ctxt": 0
},
"value": "MyDecorator",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
}
],
"interpreter": null
}

0 comments on commit 4af8c5e

Please sign in to comment.