248 lines
6.2 KiB
JSON

{
"type": "File",
"start": 0,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 59
}
},
"program": {
"type": "Program",
"start": 0,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 59
}
},
"sourceType": "script",
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 13
}
},
"expression": {
"type": "Literal",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"value": "use strict",
"rawValue": "use strict",
"raw": "\"use strict\""
}
},
{
"type": "ExpressionStatement",
"start": 14,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 59
}
},
"expression": {
"type": "ClassExpression",
"start": 15,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 21,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 22
}
},
"name": "A"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 23,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 58
}
},
"body": [
{
"type": "MethodDefinition",
"start": 25,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 57
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 32,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 43
}
},
"name": "constructor"
},
"static": true,
"kind": "method",
"value": {
"type": "FunctionExpression",
"start": 43,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 43
},
"end": {
"line": 1,
"column": 57
}
},
"id": null,
"generator": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 46,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 46
},
"end": {
"line": 1,
"column": 57
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 48,
"end": 55,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 48,
"end": 55,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 55
}
},
"callee": {
"type": "Super",
"start": 48,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 53
}
}
},
"arguments": []
}
}
]
}
}
}
]
},
"parenthesizedExpression": true
}
}
]
},
"comments": []
}