| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":182,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":21,"column":1,"index":182}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (2:4)", |
| 6 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (7:4)", |
| 7 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (8:4)", |
| 8 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (14:4)", |
| 9 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (19:4)", |
| 10 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (20:4)" |
| 11 |
], |
| 12 |
"program": { |
| 13 |
"type": "Program", |
| 14 |
"start":0,"end":182,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":21,"column":1,"index":182}}, |
| 15 |
"sourceType": "script", |
| 16 |
"interpreter": null, |
| 17 |
"body": [ |
| 18 |
{ |
| 19 |
"type": "FunctionDeclaration", |
| 20 |
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":40}}, |
| 21 |
"id": { |
| 22 |
"type": "Identifier", |
| 23 |
"start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"a"}, |
| 24 |
"name": "a" |
| 25 |
}, |
| 26 |
"generator": false, |
| 27 |
"async": false, |
| 28 |
"params": [], |
| 29 |
"body": { |
| 30 |
"type": "BlockStatement", |
| 31 |
"start":13,"end":40,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":4,"column":1,"index":40}}, |
| 32 |
"body": [], |
| 33 |
"directives": [ |
| 34 |
{ |
| 35 |
"type": "Directive", |
| 36 |
"start":17,"end":22,"loc":{"start":{"line":2,"column":2,"index":17},"end":{"line":2,"column":7,"index":22}}, |
| 37 |
"value": { |
| 38 |
"type": "DirectiveLiteral", |
| 39 |
"start":17,"end":21,"loc":{"start":{"line":2,"column":2,"index":17},"end":{"line":2,"column":6,"index":21}}, |
| 40 |
"extra": { |
| 41 |
"rawValue": "\\5", |
| 42 |
"raw": "\"\\5\"", |
| 43 |
"expressionValue": "\u0005" |
| 44 |
}, |
| 45 |
"value": "\\5" |
| 46 |
} |
| 47 |
}, |
| 48 |
{ |
| 49 |
"type": "Directive", |
| 50 |
"start":25,"end":38,"loc":{"start":{"line":3,"column":2,"index":25},"end":{"line":3,"column":15,"index":38}}, |
| 51 |
"value": { |
| 52 |
"type": "DirectiveLiteral", |
| 53 |
"start":25,"end":37,"loc":{"start":{"line":3,"column":2,"index":25},"end":{"line":3,"column":14,"index":37}}, |
| 54 |
"extra": { |
| 55 |
"rawValue": "use strict", |
| 56 |
"raw": "\"use strict\"", |
| 57 |
"expressionValue": "use strict" |
| 58 |
}, |
| 59 |
"value": "use strict" |
| 60 |
} |
| 61 |
} |
| 62 |
] |
| 63 |
} |
| 64 |
}, |
| 65 |
{ |
| 66 |
"type": "FunctionDeclaration", |
| 67 |
"start":42,"end":90,"loc":{"start":{"line":6,"column":0,"index":42},"end":{"line":10,"column":1,"index":90}}, |
| 68 |
"id": { |
| 69 |
"type": "Identifier", |
| 70 |
"start":51,"end":52,"loc":{"start":{"line":6,"column":9,"index":51},"end":{"line":6,"column":10,"index":52},"identifierName":"b"}, |
| 71 |
"name": "b" |
| 72 |
}, |
| 73 |
"generator": false, |
| 74 |
"async": false, |
| 75 |
"params": [], |
| 76 |
"body": { |
| 77 |
"type": "BlockStatement", |
| 78 |
"start":55,"end":90,"loc":{"start":{"line":6,"column":13,"index":55},"end":{"line":10,"column":1,"index":90}}, |
| 79 |
"body": [], |
| 80 |
"directives": [ |
| 81 |
{ |
| 82 |
"type": "Directive", |
| 83 |
"start":59,"end":64,"loc":{"start":{"line":7,"column":2,"index":59},"end":{"line":7,"column":7,"index":64}}, |
| 84 |
"value": { |
| 85 |
"type": "DirectiveLiteral", |
| 86 |
"start":59,"end":63,"loc":{"start":{"line":7,"column":2,"index":59},"end":{"line":7,"column":6,"index":63}}, |
| 87 |
"extra": { |
| 88 |
"rawValue": "\\4", |
| 89 |
"raw": "\"\\4\"", |
| 90 |
"expressionValue": "\u0004" |
| 91 |
}, |
| 92 |
"value": "\\4" |
| 93 |
} |
| 94 |
}, |
| 95 |
{ |
| 96 |
"type": "Directive", |
| 97 |
"start":67,"end":72,"loc":{"start":{"line":8,"column":2,"index":67},"end":{"line":8,"column":7,"index":72}}, |
| 98 |
"value": { |
| 99 |
"type": "DirectiveLiteral", |
| 100 |
"start":67,"end":71,"loc":{"start":{"line":8,"column":2,"index":67},"end":{"line":8,"column":6,"index":71}}, |
| 101 |
"extra": { |
| 102 |
"rawValue": "\\5", |
| 103 |
"raw": "\"\\5\"", |
| 104 |
"expressionValue": "\u0005" |
| 105 |
}, |
| 106 |
"value": "\\5" |
| 107 |
} |
| 108 |
}, |
| 109 |
{ |
| 110 |
"type": "Directive", |
| 111 |
"start":75,"end":88,"loc":{"start":{"line":9,"column":2,"index":75},"end":{"line":9,"column":15,"index":88}}, |
| 112 |
"value": { |
| 113 |
"type": "DirectiveLiteral", |
| 114 |
"start":75,"end":87,"loc":{"start":{"line":9,"column":2,"index":75},"end":{"line":9,"column":14,"index":87}}, |
| 115 |
"extra": { |
| 116 |
"rawValue": "use strict", |
| 117 |
"raw": "\"use strict\"", |
| 118 |
"expressionValue": "use strict" |
| 119 |
}, |
| 120 |
"value": "use strict" |
| 121 |
} |
| 122 |
} |
| 123 |
] |
| 124 |
} |
| 125 |
}, |
| 126 |
{ |
| 127 |
"type": "FunctionDeclaration", |
| 128 |
"start":92,"end":132,"loc":{"start":{"line":12,"column":0,"index":92},"end":{"line":15,"column":1,"index":132}}, |
| 129 |
"id": { |
| 130 |
"type": "Identifier", |
| 131 |
"start":101,"end":102,"loc":{"start":{"line":12,"column":9,"index":101},"end":{"line":12,"column":10,"index":102},"identifierName":"c"}, |
| 132 |
"name": "c" |
| 133 |
}, |
| 134 |
"generator": false, |
| 135 |
"async": false, |
| 136 |
"params": [], |
| 137 |
"body": { |
| 138 |
"type": "BlockStatement", |
| 139 |
"start":105,"end":132,"loc":{"start":{"line":12,"column":13,"index":105},"end":{"line":15,"column":1,"index":132}}, |
| 140 |
"body": [], |
| 141 |
"directives": [ |
| 142 |
{ |
| 143 |
"type": "Directive", |
| 144 |
"start":109,"end":122,"loc":{"start":{"line":13,"column":2,"index":109},"end":{"line":13,"column":15,"index":122}}, |
| 145 |
"value": { |
| 146 |
"type": "DirectiveLiteral", |
| 147 |
"start":109,"end":121,"loc":{"start":{"line":13,"column":2,"index":109},"end":{"line":13,"column":14,"index":121}}, |
| 148 |
"extra": { |
| 149 |
"rawValue": "use strict", |
| 150 |
"raw": "\"use strict\"", |
| 151 |
"expressionValue": "use strict" |
| 152 |
}, |
| 153 |
"value": "use strict" |
| 154 |
} |
| 155 |
}, |
| 156 |
{ |
| 157 |
"type": "Directive", |
| 158 |
"start":125,"end":130,"loc":{"start":{"line":14,"column":2,"index":125},"end":{"line":14,"column":7,"index":130}}, |
| 159 |
"value": { |
| 160 |
"type": "DirectiveLiteral", |
| 161 |
"start":125,"end":129,"loc":{"start":{"line":14,"column":2,"index":125},"end":{"line":14,"column":6,"index":129}}, |
| 162 |
"extra": { |
| 163 |
"rawValue": "\\5", |
| 164 |
"raw": "\"\\5\"", |
| 165 |
"expressionValue": "\u0005" |
| 166 |
}, |
| 167 |
"value": "\\5" |
| 168 |
} |
| 169 |
} |
| 170 |
] |
| 171 |
} |
| 172 |
}, |
| 173 |
{ |
| 174 |
"type": "FunctionDeclaration", |
| 175 |
"start":134,"end":182,"loc":{"start":{"line":17,"column":0,"index":134},"end":{"line":21,"column":1,"index":182}}, |
| 176 |
"id": { |
| 177 |
"type": "Identifier", |
| 178 |
"start":143,"end":144,"loc":{"start":{"line":17,"column":9,"index":143},"end":{"line":17,"column":10,"index":144},"identifierName":"d"}, |
| 179 |
"name": "d" |
| 180 |
}, |
| 181 |
"generator": false, |
| 182 |
"async": false, |
| 183 |
"params": [], |
| 184 |
"body": { |
| 185 |
"type": "BlockStatement", |
| 186 |
"start":147,"end":182,"loc":{"start":{"line":17,"column":13,"index":147},"end":{"line":21,"column":1,"index":182}}, |
| 187 |
"body": [], |
| 188 |
"directives": [ |
| 189 |
{ |
| 190 |
"type": "Directive", |
| 191 |
"start":151,"end":164,"loc":{"start":{"line":18,"column":2,"index":151},"end":{"line":18,"column":15,"index":164}}, |
| 192 |
"value": { |
| 193 |
"type": "DirectiveLiteral", |
| 194 |
"start":151,"end":163,"loc":{"start":{"line":18,"column":2,"index":151},"end":{"line":18,"column":14,"index":163}}, |
| 195 |
"extra": { |
| 196 |
"rawValue": "use strict", |
| 197 |
"raw": "\"use strict\"", |
| 198 |
"expressionValue": "use strict" |
| 199 |
}, |
| 200 |
"value": "use strict" |
| 201 |
} |
| 202 |
}, |
| 203 |
{ |
| 204 |
"type": "Directive", |
| 205 |
"start":167,"end":172,"loc":{"start":{"line":19,"column":2,"index":167},"end":{"line":19,"column":7,"index":172}}, |
| 206 |
"value": { |
| 207 |
"type": "DirectiveLiteral", |
| 208 |
"start":167,"end":171,"loc":{"start":{"line":19,"column":2,"index":167},"end":{"line":19,"column":6,"index":171}}, |
| 209 |
"extra": { |
| 210 |
"rawValue": "\\4", |
| 211 |
"raw": "\"\\4\"", |
| 212 |
"expressionValue": "\u0004" |
| 213 |
}, |
| 214 |
"value": "\\4" |
| 215 |
} |
| 216 |
}, |
| 217 |
{ |
| 218 |
"type": "Directive", |
| 219 |
"start":175,"end":180,"loc":{"start":{"line":20,"column":2,"index":175},"end":{"line":20,"column":7,"index":180}}, |
| 220 |
"value": { |
| 221 |
"type": "DirectiveLiteral", |
| 222 |
"start":175,"end":179,"loc":{"start":{"line":20,"column":2,"index":175},"end":{"line":20,"column":6,"index":179}}, |
| 223 |
"extra": { |
| 224 |
"rawValue": "\\5", |
| 225 |
"raw": "\"\\5\"", |
| 226 |
"expressionValue": "\u0005" |
| 227 |
}, |
| 228 |
"value": "\\5" |
| 229 |
} |
| 230 |
} |
| 231 |
] |
| 232 |
} |
| 233 |
} |
| 234 |
], |
| 235 |
"directives": [] |
| 236 |
} |
| 237 |
} |