| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":52}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: 'arguments' is only allowed in functions and class methods. (3:15)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":52}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "ClassDeclaration", |
| 15 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":52}}, |
| 16 |
"id": { |
| 17 |
"type": "Identifier", |
| 18 |
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"C"}, |
| 19 |
"name": "C" |
| 20 |
}, |
| 21 |
"superClass": null, |
| 22 |
"body": { |
| 23 |
"type": "ClassBody", |
| 24 |
"start":8,"end":52,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":5,"column":1,"index":52}}, |
| 25 |
"body": [ |
| 26 |
{ |
| 27 |
"type": "StaticBlock", |
| 28 |
"start":12,"end":50,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":4,"column":3,"index":50}}, |
| 29 |
"body": [ |
| 30 |
{ |
| 31 |
"type": "ExpressionStatement", |
| 32 |
"start":25,"end":46,"loc":{"start":{"line":3,"column":4,"index":25},"end":{"line":3,"column":25,"index":46}}, |
| 33 |
"expression": { |
| 34 |
"type": "AssignmentExpression", |
| 35 |
"start":25,"end":45,"loc":{"start":{"line":3,"column":4,"index":25},"end":{"line":3,"column":24,"index":45}}, |
| 36 |
"operator": "=", |
| 37 |
"left": { |
| 38 |
"type": "MemberExpression", |
| 39 |
"start":25,"end":33,"loc":{"start":{"line":3,"column":4,"index":25},"end":{"line":3,"column":12,"index":33}}, |
| 40 |
"object": { |
| 41 |
"type": "ThisExpression", |
| 42 |
"start":25,"end":29,"loc":{"start":{"line":3,"column":4,"index":25},"end":{"line":3,"column":8,"index":29}} |
| 43 |
}, |
| 44 |
"computed": false, |
| 45 |
"property": { |
| 46 |
"type": "Identifier", |
| 47 |
"start":30,"end":33,"loc":{"start":{"line":3,"column":9,"index":30},"end":{"line":3,"column":12,"index":33},"identifierName":"foo"}, |
| 48 |
"name": "foo" |
| 49 |
} |
| 50 |
}, |
| 51 |
"right": { |
| 52 |
"type": "Identifier", |
| 53 |
"start":36,"end":45,"loc":{"start":{"line":3,"column":15,"index":36},"end":{"line":3,"column":24,"index":45},"identifierName":"arguments"}, |
| 54 |
"name": "arguments" |
| 55 |
} |
| 56 |
} |
| 57 |
} |
| 58 |
] |
| 59 |
} |
| 60 |
] |
| 61 |
} |
| 62 |
} |
| 63 |
], |
| 64 |
"directives": [] |
| 65 |
} |
| 66 |
} |