| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":84,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":10,"column":1,"index":84}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Legacy octal literals are not allowed in strict mode. (3:2)", |
| 6 |
"SyntaxError: Legacy octal literals are not allowed in strict mode. (8:2)", |
| 7 |
"SyntaxError: Legacy octal literals are not allowed in strict mode. (9:2)" |
| 8 |
], |
| 9 |
"program": { |
| 10 |
"type": "Program", |
| 11 |
"start":0,"end":84,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":10,"column":1,"index":84}}, |
| 12 |
"sourceType": "script", |
| 13 |
"interpreter": null, |
| 14 |
"body": [ |
| 15 |
{ |
| 16 |
"type": "FunctionDeclaration", |
| 17 |
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":38}}, |
| 18 |
"id": { |
| 19 |
"type": "Identifier", |
| 20 |
"start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"c"}, |
| 21 |
"name": "c" |
| 22 |
}, |
| 23 |
"generator": false, |
| 24 |
"async": false, |
| 25 |
"params": [], |
| 26 |
"body": { |
| 27 |
"type": "BlockStatement", |
| 28 |
"start":13,"end":38,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":4,"column":1,"index":38}}, |
| 29 |
"body": [ |
| 30 |
{ |
| 31 |
"type": "ExpressionStatement", |
| 32 |
"start":33,"end":36,"loc":{"start":{"line":3,"column":2,"index":33},"end":{"line":3,"column":5,"index":36}}, |
| 33 |
"expression": { |
| 34 |
"type": "NumericLiteral", |
| 35 |
"start":33,"end":35,"loc":{"start":{"line":3,"column":2,"index":33},"end":{"line":3,"column":4,"index":35}}, |
| 36 |
"extra": { |
| 37 |
"rawValue": 5, |
| 38 |
"raw": "05" |
| 39 |
}, |
| 40 |
"value": 5 |
| 41 |
} |
| 42 |
} |
| 43 |
], |
| 44 |
"directives": [ |
| 45 |
{ |
| 46 |
"type": "Directive", |
| 47 |
"start":17,"end":30,"loc":{"start":{"line":2,"column":2,"index":17},"end":{"line":2,"column":15,"index":30}}, |
| 48 |
"value": { |
| 49 |
"type": "DirectiveLiteral", |
| 50 |
"start":17,"end":29,"loc":{"start":{"line":2,"column":2,"index":17},"end":{"line":2,"column":14,"index":29}}, |
| 51 |
"extra": { |
| 52 |
"rawValue": "use strict", |
| 53 |
"raw": "\"use strict\"", |
| 54 |
"expressionValue": "use strict" |
| 55 |
}, |
| 56 |
"value": "use strict" |
| 57 |
} |
| 58 |
} |
| 59 |
] |
| 60 |
} |
| 61 |
}, |
| 62 |
{ |
| 63 |
"type": "FunctionDeclaration", |
| 64 |
"start":40,"end":84,"loc":{"start":{"line":6,"column":0,"index":40},"end":{"line":10,"column":1,"index":84}}, |
| 65 |
"id": { |
| 66 |
"type": "Identifier", |
| 67 |
"start":49,"end":50,"loc":{"start":{"line":6,"column":9,"index":49},"end":{"line":6,"column":10,"index":50},"identifierName":"d"}, |
| 68 |
"name": "d" |
| 69 |
}, |
| 70 |
"generator": false, |
| 71 |
"async": false, |
| 72 |
"params": [], |
| 73 |
"body": { |
| 74 |
"type": "BlockStatement", |
| 75 |
"start":53,"end":84,"loc":{"start":{"line":6,"column":13,"index":53},"end":{"line":10,"column":1,"index":84}}, |
| 76 |
"body": [ |
| 77 |
{ |
| 78 |
"type": "ExpressionStatement", |
| 79 |
"start":73,"end":76,"loc":{"start":{"line":8,"column":2,"index":73},"end":{"line":8,"column":5,"index":76}}, |
| 80 |
"expression": { |
| 81 |
"type": "NumericLiteral", |
| 82 |
"start":73,"end":75,"loc":{"start":{"line":8,"column":2,"index":73},"end":{"line":8,"column":4,"index":75}}, |
| 83 |
"extra": { |
| 84 |
"rawValue": 4, |
| 85 |
"raw": "04" |
| 86 |
}, |
| 87 |
"value": 4 |
| 88 |
} |
| 89 |
}, |
| 90 |
{ |
| 91 |
"type": "ExpressionStatement", |
| 92 |
"start":79,"end":82,"loc":{"start":{"line":9,"column":2,"index":79},"end":{"line":9,"column":5,"index":82}}, |
| 93 |
"expression": { |
| 94 |
"type": "NumericLiteral", |
| 95 |
"start":79,"end":81,"loc":{"start":{"line":9,"column":2,"index":79},"end":{"line":9,"column":4,"index":81}}, |
| 96 |
"extra": { |
| 97 |
"rawValue": 5, |
| 98 |
"raw": "05" |
| 99 |
}, |
| 100 |
"value": 5 |
| 101 |
} |
| 102 |
} |
| 103 |
], |
| 104 |
"directives": [ |
| 105 |
{ |
| 106 |
"type": "Directive", |
| 107 |
"start":57,"end":70,"loc":{"start":{"line":7,"column":2,"index":57},"end":{"line":7,"column":15,"index":70}}, |
| 108 |
"value": { |
| 109 |
"type": "DirectiveLiteral", |
| 110 |
"start":57,"end":69,"loc":{"start":{"line":7,"column":2,"index":57},"end":{"line":7,"column":14,"index":69}}, |
| 111 |
"extra": { |
| 112 |
"rawValue": "use strict", |
| 113 |
"raw": "\"use strict\"", |
| 114 |
"expressionValue": "use strict" |
| 115 |
}, |
| 116 |
"value": "use strict" |
| 117 |
} |
| 118 |
} |
| 119 |
] |
| 120 |
} |
| 121 |
} |
| 122 |
], |
| 123 |
"directives": [] |
| 124 |
} |
| 125 |
} |