| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":49,"index":49}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Argument name clash. (1:37)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":49,"index":49}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "FunctionDeclaration", |
| 15 | "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":49,"index":49}}, |
| 16 | "id": { |
| 17 | "type": "Identifier", |
| 18 | "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"a"}, |
| 19 | "name": "a" |
| 20 | }, |
| 21 | "generator": false, |
| 22 | "async": false, |
| 23 | "params": [], |
| 24 | "body": { |
| 25 | "type": "BlockStatement", |
| 26 | "start":13,"end":49,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":49,"index":49}}, |
| 27 | "body": [ |
| 28 | { |
| 29 | "type": "ExpressionStatement", |
| 30 | "start":29,"end":47,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":47,"index":47}}, |
| 31 | "expression": { |
| 32 | "type": "ObjectExpression", |
| 33 | "start":30,"end":45,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":45,"index":45}}, |
| 34 | "properties": [ |
| 35 | { |
| 36 | "type": "ObjectMethod", |
| 37 | "start":32,"end":43,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":43,"index":43}}, |
| 38 | "method": true, |
| 39 | "key": { |
| 40 | "type": "Identifier", |
| 41 | "start":32,"end":33,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":33,"index":33},"identifierName":"b"}, |
| 42 | "name": "b" |
| 43 | }, |
| 44 | "computed": false, |
| 45 | "kind": "method", |
| 46 | "id": null, |
| 47 | "generator": false, |
| 48 | "async": false, |
| 49 | "params": [ |
| 50 | { |
| 51 | "type": "Identifier", |
| 52 | "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"t"}, |
| 53 | "name": "t" |
| 54 | }, |
| 55 | { |
| 56 | "type": "Identifier", |
| 57 | "start":37,"end":38,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":38,"index":38},"identifierName":"t"}, |
| 58 | "name": "t" |
| 59 | } |
| 60 | ], |
| 61 | "body": { |
| 62 | "type": "BlockStatement", |
| 63 | "start":40,"end":43,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":43,"index":43}}, |
| 64 | "body": [], |
| 65 | "directives": [] |
| 66 | } |
| 67 | } |
| 68 | ], |
| 69 | "extra": { |
| 70 | "parenthesized": true, |
| 71 | "parenStart": 29 |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | ], |
| 76 | "directives": [ |
| 77 | { |
| 78 | "type": "Directive", |
| 79 | "start":15,"end":28,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":28,"index":28}}, |
| 80 | "value": { |
| 81 | "type": "DirectiveLiteral", |
| 82 | "start":15,"end":27,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":27,"index":27}}, |
| 83 | "extra": { |
| 84 | "rawValue": "use strict", |
| 85 | "raw": "\"use strict\"", |
| 86 | "expressionValue": "use strict" |
| 87 | }, |
| 88 | "value": "use strict" |
| 89 | } |
| 90 | } |
| 91 | ] |
| 92 | } |
| 93 | } |
| 94 | ], |
| 95 | "directives": [] |
| 96 | } |
| 97 | } |