[ {"source":"\"\\u{714E}\\u{8336}\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"煎茶","raw":"\"\\u{714E}\\u{8336}\"","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"\"\\u{20BB7}\\u{91CE}\\u{5BB6}\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"𠮷野家","raw":"\"\\u{20BB7}\\u{91CE}\\u{5BB6}\"","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"00","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"raw":"00","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0o0","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"raw":"0o0","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function test() {'use strict'; 0o0; }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"use strict","raw":"'use strict'","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":30}}},{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"raw":"0o0","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":37}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0o2","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":2,"raw":"0o2","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0o12","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":10,"raw":"0o12","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0O0","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"raw":"0O0","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function test() {'use strict'; 0O0; }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"use strict","raw":"'use strict'","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":30}}},{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"raw":"0O0","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":37}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0O2","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":2,"raw":"0O2","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0O12","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":10,"raw":"0O12","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0b0","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"raw":"0b0","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0b1","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":1,"raw":"0b1","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0b10","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":2,"raw":"0b10","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0B0","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"raw":"0B0","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0B1","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":1,"raw":"0B1","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"0B10","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":2,"raw":"0B10","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"`42`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"42","cooked":"42"},"tail":true,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":3}}}],"expressions":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"raw`42`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TaggedTemplateExpression","tag":{"type":"Identifier","name":"raw","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"quasi":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"42","cooked":"42"},"tail":true,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}}],"expressions":[],"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":7}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":7}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":7}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":7}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"raw`hello ${name}`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TaggedTemplateExpression","tag":{"type":"Identifier","name":"raw","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"quasi":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"hello ","cooked":"hello "},"tail":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}},{"type":"TemplateElement","value":{"raw":"","cooked":""},"tail":true,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":17}}}],"expressions":[{"type":"Identifier","name":"name","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"`$`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"$","cooked":"$"},"tail":true,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}}],"expressions":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"`\\n\\r\\b\\v\\t\\f\\\n\\\r\n`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"\\n\\r\\b\\v\\t\\f\\\n\\\r\n","cooked":"\n\r\b\u000b\t\f"},"tail":true,"loc":{"start":{"line":1,"column":1},"end":{"line":3,"column":0}}}],"expressions":[],"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}},"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"`\n\r\n`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"\n\r\n","cooked":"\n\n"},"tail":true,"loc":{"start":{"line":1,"column":1},"end":{"line":3,"column":0}}}],"expressions":[],"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}},"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"`\\u{000042}\\u0042\\x42u0\\102\\A`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"\\u{000042}\\u0042\\x42u0\\102\\A","cooked":"BBBu0BA"},"tail":true,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":29}}}],"expressions":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"new raw`42`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"NewExpression","callee":{"type":"TaggedTemplateExpression","tag":{"type":"Identifier","name":"raw","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"quasi":{"type":"TemplateLiteral","quasis":[{"type":"TemplateElement","value":{"raw":"42","cooked":"42"},"tail":true,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}}],"expressions":[],"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"arguments":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"`outer${{x: {y: 10}}}bar${`nested${function(){return 1;}}endnest`}end`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"TemplateLiteral","expressions":[{"type":"ObjectExpression","properties":[{"type":"Property","method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","name":"x"},"value":{"type":"ObjectExpression","properties":[{"type":"Property","method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","name":"y"},"value":{"type":"Literal","value":10,"raw":"10"},"kind":"init"}]},"kind":"init"}]},{"type":"TemplateLiteral","expressions":[{"type":"FunctionExpression","id":null,"params":[],"generator":false,"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":{"type":"Literal","value":1,"raw":"1"}}]},"expression":false}],"quasis":[{"type":"TemplateElement","value":{"cooked":"nested","raw":"nested"},"tail":false},{"type":"TemplateElement","value":{"cooked":"endnest","raw":"endnest"},"tail":true}]}],"quasis":[{"type":"TemplateElement","value":{"cooked":"outer","raw":"outer"},"tail":false},{"type":"TemplateElement","value":{"cooked":"bar","raw":"bar"},"tail":false},{"type":"TemplateElement","value":{"cooked":"end","raw":"end"},"tail":true}]}}]},"options":{"ecmaVersion":6}}, {"source":"switch (answer) { case 42: let t = 42; break; }","expected":{"type":"Program","body":[{"type":"SwitchStatement","discriminant":{"type":"Identifier","name":"answer","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":14}}},"cases":[{"type":"SwitchCase","test":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"consequent":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"t","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":32}}},"init":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":35},"end":{"line":1,"column":37}}},"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":37}}}],"kind":"let","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":38}}},{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":39},"end":{"line":1,"column":45}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":45}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":47}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":47}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"() => \"test\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[],"body":{"type":"Literal","value":"test","raw":"\"test\"","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"e => \"test\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"body":{"type":"Literal","value":"test","raw":"\"test\"","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":11}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(e) => \"test\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}}],"body":{"type":"Literal","value":"test","raw":"\"test\"","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":13}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(a, b) => \"test\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}}],"body":{"type":"Literal","value":"test","raw":"\"test\"","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":16}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"e => { 42; }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":12}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"e => ({ property: 42 })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"body":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"property","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":16}}},"value":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":20}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":22}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"e => { label: 42 }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"body":{"type":"BlockStatement","body":[{"type":"LabeledStatement","label":{"type":"Identifier","name":"label","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":12}}},"body":{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":18}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(a, b) => { 42; }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":17}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"([a, , b]) => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3}}},null,{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":9}}}],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"([a.a]) => 42","error":"Assigning to rvalue (1:2)","options":{"ecmaVersion":6}}, {"source":"(x=1) => x * x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},"right":{"type":"Literal","value":1,"raw":"1","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":4}}}],"body":{"type":"BinaryExpression","operator":"*","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"right":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"eval => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}}],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"arguments => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}}],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":15}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(a) => 00","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}}],"body":{"type":"Literal","value":0,"raw":"00","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":9}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(eval, a) => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":5}}},{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":15}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(eval = 10) => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":5}}},"right":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":10}}}],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(eval, a = 10) => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":5}}},{"type":"AssignmentPattern","left":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"right":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":13}}}],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":20}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(x => x)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}}],"body":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":7}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x => y => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"body":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}}],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":12}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(x) => ((y, z) => (x, y, z))","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}}],"body":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}}],"body":{"type":"SequenceExpression","expressions":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":26}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":27}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"foo(() => {})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"arguments":[{"type":"ArrowFunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"foo((x, y) => {})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"arguments":[{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(a, a) => 42","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},"body":[{"type":"ExpressionStatement","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},"expression":{"type":"ArrowFunctionExpression","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},"id":null,"params":[{"type":"Identifier","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}},"name":"a"},{"type":"Identifier","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}},"name":"a"}],"generator":false,"body":{"type":"Literal","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}},"value":42,"raw":"42"},"expression":true}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { method() { } }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"method","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":18}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":18}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { method(test) { } }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"method","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":17}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":22}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { 'method'() { } }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Literal","value":"method","raw":"'method'","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":14}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":20}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { get() { } }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"get","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":9}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":15}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":15}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { set() { } }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"set","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":9}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":15}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":15}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { method() 42 }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"method","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":17}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { get method() 42 }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"method","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":16}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":21}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}}},"kind":"get","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { set method(val) v = val }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"method","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":16}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"val","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}}],"body":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"right":{"type":"Identifier","name":"val","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":29}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":29}}},"kind":"set","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"[for (x of array) x]","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ComprehensionExpression","filter":null,"blocks":[{"type":"ComprehensionBlock","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"right":{"type":"Identifier","name":"array","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":17}}}],"body":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"generator":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"options":{"ecmaVersion":7,"ranges":true,"locations":true}}, {"source":"[for (x of array) for (y of array2) if (x === test) x]","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ComprehensionExpression","filter":{"type":"BinaryExpression","operator":"===","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":41}}},"right":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":46},"end":{"line":1,"column":50}}},"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":50}}},"blocks":[{"type":"ComprehensionBlock","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"right":{"type":"Identifier","name":"array","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":17}}},{"type":"ComprehensionBlock","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":24}}},"right":{"type":"Identifier","name":"array2","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":35}}}],"body":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":52},"end":{"line":1,"column":53}}},"generator":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}},"options":{"ecmaVersion":7,"ranges":true,"locations":true}}, {"source":"(for (x of array) for (y of array2) if (x === test) x)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ComprehensionExpression","filter":{"type":"BinaryExpression","operator":"===","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":41}}},"right":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":46},"end":{"line":1,"column":50}}},"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":50}}},"blocks":[{"type":"ComprehensionBlock","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"right":{"type":"Identifier","name":"array","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":17}}},{"type":"ComprehensionBlock","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":24}}},"right":{"type":"Identifier","name":"array2","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":35}}}],"body":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":52},"end":{"line":1,"column":53}}},"generator":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}},"options":{"ecmaVersion":7,"ranges":true,"locations":true}}, {"source":"[for ([,x] of array) for ({[start.x]: x, [start.y]: y} of array2) x]","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ComprehensionExpression","filter":null,"blocks":[{"type":"ComprehensionBlock","left":{"type":"ArrayPattern","elements":[null,{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":10}}},"right":{"type":"Identifier","name":"array","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":20}}},{"type":"ComprehensionBlock","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"MemberExpression","computed":false,"object":{"type":"Identifier","name":"start","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":33}}},"property":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":35}}},"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":35}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":38},"end":{"line":1,"column":39}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":39}}},{"type":"Property","key":{"type":"MemberExpression","computed":false,"object":{"type":"Identifier","name":"start","loc":{"start":{"line":1,"column":42},"end":{"line":1,"column":47}}},"property":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":48},"end":{"line":1,"column":49}}},"loc":{"start":{"line":1,"column":42},"end":{"line":1,"column":49}}},"value":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":52},"end":{"line":1,"column":53}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":41},"end":{"line":1,"column":53}}}],"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":54}}},"right":{"type":"Identifier","name":"array2","loc":{"start":{"line":1,"column":58},"end":{"line":1,"column":64}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":65}}}],"body":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":66},"end":{"line":1,"column":67}}},"generator":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":68}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":68}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":68}}},"options":{"ecmaVersion":7,"ranges":true,"locations":true}}, {"source":"x = { y, z }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"value":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},{"type":"Property","key":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"value":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"[a, b] = [b, a]","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"right":{"type":"ArrayExpression","elements":[{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ responseText: text }) = res","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"responseText","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":15}}},"value":{"type":"Identifier","name":"text","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":21}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":23}}},"right":{"type":"Identifier","name":"res","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"const {a} = {}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":9}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":14}}}],"kind":"const","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"const [a] = []","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":9}}},"init":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":14}}}],"kind":"const","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"let {a} = {}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}}],"kind":"let","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"let [a] = []","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"init":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}}],"kind":"let","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var {a} = {}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var [a] = []","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"init":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"const {a:b} = {}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":11}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":16}}}],"kind":"const","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"let {a:b} = {}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":14}}}],"kind":"let","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var {a:b} = {}","expected":{"type":"Program","sourceType":"script","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":14}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"export var document","expected":{"type":"Program","sourceType":"module","body":[{"type":"ExportNamedDeclaration","declaration":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"document","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}},"init":null,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}}],"kind":"var","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":19}}},"specifiers":[],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export var document = { }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"document","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":25}}}],"kind":"var","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":25}}},"specifiers":[],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export let document","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"document","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}},"init":null,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}}],"kind":"let","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":19}}},"specifiers":[],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export let document = { }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"document","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":25}}}],"kind":"let","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":25}}},"specifiers":[],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export const document = { }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"document","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":21}}},"init":{"type":"ObjectExpression","properties":[],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":27}}}],"kind":"const","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":27}}},"specifiers":[],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export function parse() { }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"parse","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}}},"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":27}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":27}}},"specifiers":[],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export class Class {}","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":{"type":"ClassDeclaration","id":{"type":"Identifier","name":"Class","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":18}}},"superClass":null,"body":{"type":"ClassBody","body":[],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":21}}},"specifiers":[],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export default 42","expected":{"type":"Program","body":[{"type":"ExportDefaultDeclaration","declaration":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export default function () {}","expected":{"type":"Program","range":[0,29],"body":[{"type":"ExportDefaultDeclaration","range":[0,29],"declaration":{"type":"FunctionExpression","range":[15,29],"id":null,"generator":false,"expression":false,"params":[],"body":{"type":"BlockStatement","range":[27,29],"body":[]}}}]},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true}}, {"source":"export default function f() {}","expected":{"type":"Program","range":[0,30],"body":[{"type":"ExportDefaultDeclaration","range":[0,30],"declaration":{"type":"FunctionDeclaration","range":[15,30],"id":{"type":"Identifier","range":[24,25],"name":"f"},"generator":false,"expression":false,"params":[],"body":{"type":"BlockStatement","range":[28,30],"body":[]}}}]},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true}}, {"source":"export default class {}","expected":{"type":"Program","range":[0,23],"body":[{"type":"ExportDefaultDeclaration","range":[0,23],"declaration":{"type":"ClassExpression","range":[15,23],"id":null,"superClass":null,"body":{"type":"ClassBody","range":[21,23],"body":[]}}}]},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true}}, {"source":"export default class A {}","expected":{"type":"Program","range":[0,25],"body":[{"type":"ExportDefaultDeclaration","range":[0,25],"declaration":{"type":"ClassDeclaration","range":[15,25],"id":{"type":"Identifier","range":[21,22],"name":"A"},"superClass":null,"body":{"type":"ClassBody","range":[23,25],"body":[]}}}]},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true}}, {"source":"export *","error":"Unexpected token (1:8)","options":{"ecmaVersion":6,"sourceType":"module"}}, {"source":"export * from \"crypto\"","expected":{"type":"Program","body":[{"type":"ExportAllDeclaration","source":{"type":"Literal","value":"crypto","raw":"\"crypto\"","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export { encrypt }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":null,"specifiers":[{"type":"ExportSpecifier","exported":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"local":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}}],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export { encrypt, decrypt }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":null,"specifiers":[{"type":"ExportSpecifier","exported":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"local":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},{"type":"ExportSpecifier","exported":{"type":"Identifier","name":"decrypt","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}},"local":{"type":"Identifier","name":"decrypt","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}}],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export { encrypt as default }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":null,"specifiers":[{"type":"ExportSpecifier","exported":{"type":"Identifier","name":"default","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":27}}},"local":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":27}}}],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export { encrypt, decrypt as dec }","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":null,"specifiers":[{"type":"ExportSpecifier","exported":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"local":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},{"type":"ExportSpecifier","exported":{"type":"Identifier","name":"dec","loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":32}}},"local":{"type":"Identifier","name":"decrypt","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":32}}}],"source":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"export { default } from \"other\"","expected":{"type":"Program","body":[{"type":"ExportNamedDeclaration","declaration":null,"specifiers":[{"type":"ExportSpecifier","exported":{"type":"Identifier","name":"default","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"local":{"type":"Identifier","name":"default","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}}],"source":{"type":"Literal","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":31}},"value":"other","raw":"\"other\""},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"import \"jquery\"","expected":{"type":"Program","body":[{"type":"ImportDeclaration","specifiers":[],"source":{"type":"Literal","value":"jquery","raw":"\"jquery\"","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"import $ from \"jquery\"","expected":{"type":"Program","body":[{"type":"ImportDeclaration","specifiers":[{"type":"ImportDefaultSpecifier","local":{"type":"Identifier","name":"$","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}],"source":{"type":"Literal","value":"jquery","raw":"\"jquery\"","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"import { encrypt, decrypt } from \"crypto\"","expected":{"type":"Program","body":[{"type":"ImportDeclaration","specifiers":[{"type":"ImportSpecifier","imported":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"local":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},{"type":"ImportSpecifier","imported":{"type":"Identifier","name":"decrypt","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}},"local":{"type":"Identifier","name":"decrypt","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}}],"source":{"type":"Literal","value":"crypto","raw":"\"crypto\"","loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":41}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"import { encrypt as enc } from \"crypto\"","expected":{"type":"Program","body":[{"type":"ImportDeclaration","specifiers":[{"type":"ImportSpecifier","imported":{"type":"Identifier","name":"encrypt","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}}},"local":{"type":"Identifier","name":"enc","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":23}}}],"source":{"type":"Literal","value":"crypto","raw":"\"crypto\"","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":39}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"import crypto, { decrypt, encrypt as enc } from \"crypto\"","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":56}},"body":[{"type":"ImportDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":56}},"specifiers":[{"type":"ImportDefaultSpecifier","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":13}},"local":{"type":"Identifier","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":13}},"name":"crypto"}},{"type":"ImportSpecifier","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":24}},"imported":{"type":"Identifier","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":24}},"name":"decrypt"},"local":{"type":"Identifier","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":24}},"name":"decrypt"}},{"type":"ImportSpecifier","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":40}},"imported":{"type":"Identifier","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":33}},"name":"encrypt"},"local":{"type":"Identifier","loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":40}},"name":"enc"}}],"source":{"type":"Literal","loc":{"start":{"line":1,"column":48},"end":{"line":1,"column":56}},"value":"crypto","raw":"\"crypto\""}}]},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"import default from \"foo\"","error":"Unexpected token (1:7)","options":{"ecmaVersion":6,"sourceType":"module"}}, {"source":"import { null as nil } from \"bar\"","expected":{"type":"Program","body":[{"type":"ImportDeclaration","specifiers":[{"type":"ImportSpecifier","imported":{"type":"Identifier","name":"null","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"local":{"type":"Identifier","name":"nil","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":20}}}],"source":{"type":"Literal","value":"bar","raw":"\"bar\"","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":33}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"import * as crypto from \"crypto\"","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"body":[{"type":"ImportDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"specifiers":[{"type":"ImportNamespaceSpecifier","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":18}},"local":{"type":"Identifier","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":18}},"name":"crypto"}}],"source":{"type":"Literal","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":32}},"value":"crypto","raw":"\"crypto\""}}]},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"(function* () { yield v })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"delegate":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":25}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"(function* () { yield\nv })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":null,"delegate":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"v","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":1}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":1}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":2,"column":3}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":2,"column":3}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":4}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":4}}},"options":{"ecmaVersion":6,"sourceType":"module","ranges":true,"locations":true}}, {"source":"(function* () { yield *v })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":24}}},"delegate":true,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":26}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function* test () { yield *v }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}}},"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":28}}},"delegate":true,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":30}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var x = { *test () { yield *v } };","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"init":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":15}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":29}}},"delegate":true,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":31}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":31}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":33}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":33}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function* foo() { console.log(yield); }","expected":{"body":[{"id":{"name":"foo","type":"Identifier"},"generator":true,"expression":false,"params":[],"body":{"body":[{"expression":{"callee":{"object":{"name":"console","type":"Identifier"},"property":{"name":"log","type":"Identifier"},"computed":false,"type":"MemberExpression"},"arguments":[{"delegate":false,"argument":null,"type":"YieldExpression"}],"type":"CallExpression"},"type":"ExpressionStatement"}],"type":"BlockStatement"},"type":"FunctionDeclaration"}],"sourceType":"script","type":"Program"},"options":{"ecmaVersion":6}}, {"source":"function* t() {}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"t","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(function* () { yield yield 10 })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"YieldExpression","argument":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":30}}},"delegate":false,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":30}}},"delegate":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":32}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"for(x of list) process(x);","expected":{"type":"Program","body":[{"type":"ForOfStatement","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"right":{"type":"Identifier","name":"list","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"process","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":22}}},"arguments":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"for (var x of list) process(x);","expected":{"type":"Program","body":[{"type":"ForOfStatement","left":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"init":null,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}}],"kind":"var","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":10}}},"right":{"type":"Identifier","name":"list","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":18}}},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"process","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":27}}},"arguments":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"for (var x = 42 of list) process(x);","expected":{"type":"Program","body":[{"type":"ForOfStatement","left":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"init":{"type":"Literal","value":42,"raw":"42","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":15}}}],"kind":"var","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":15}}},"right":{"type":"Identifier","name":"list","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":23}}},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"process","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":32}}},"arguments":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":35}}},"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"for (let x of list) process(x);","expected":{"type":"Program","body":[{"type":"ForOfStatement","left":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"init":null,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}}],"kind":"let","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":10}}},"right":{"type":"Identifier","name":"list","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":18}}},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"process","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":27}}},"arguments":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var A = class extends B {}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"init":{"type":"ClassExpression","superClass":{"type":"Identifier","name":"B","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"body":{"type":"ClassBody","body":[],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":26}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A extends class B extends C {} {}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":{"type":"ClassExpression","id":{"type":"Identifier","name":"B","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"superClass":{"type":"Identifier","name":"C","loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":33}}},"body":{"type":"ClassBody","body":[],"loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":36}}},"body":{"type":"ClassBody","body":[],"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":39}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A {get() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"get","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":17}}},"kind":"method","static":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static get() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"get","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":25}}},"kind":"method","static":true,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A extends B {get foo() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":{"type":"Identifier","name":"B","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":26}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":31}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":31}}},"kind":"get","static":false,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A extends B { static get foo() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":{"type":"Identifier","name":"B","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":34}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":39}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":39}}},"kind":"get","static":true,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":39}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":40}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":40}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":40}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A {set a(v) {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":20}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":20}}},"kind":"set","static":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static set a(v) {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":24}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":28}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":28}}},"kind":"set","static":true,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A {set(v) {};}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"set","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":18}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":18}}},"kind":"method","static":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static set(v) {};}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"set","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":26}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":26}}},"kind":"method","static":true,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A {*gen(v) { yield v; }}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"gen","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":13}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":26}}},"delegate":false,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":29}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":29}}},"kind":"method","static":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static *gen(v) { yield v; }}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"gen","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":21}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":34}}},"delegate":false,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":37}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":37}}},"kind":"method","static":true,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":37}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":38}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"\"use strict\"; (class A {constructor() { super() }})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"use strict","raw":"\"use strict\"","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},{"type":"ExpressionStatement","expression":{"type":"ClassExpression","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"constructor","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":35}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Super","loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":45}}},"arguments":[],"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":47}}},"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":47}}}],"loc":{"start":{"line":1,"column":38},"end":{"line":1,"column":49}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":35},"end":{"line":1,"column":49}}},"kind":"constructor","static":false,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":49}}}],"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":50}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":50}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":51}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A {'constructor'() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A"},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Literal","value":"constructor"},"static":false,"kind":"constructor","value":{"type":"FunctionExpression","id":null,"generator":false,"expression":false,"params":[],"body":{"type":"BlockStatement","body":[]}}}]}}]},"options":{"ecmaVersion":6}}, {"source":"class A {static foo() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":19}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":24}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":24}}},"kind":"method","static":true,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A {foo() {} static bar() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":17}}},"kind":"method","static":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":17}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":28}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":33}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":33}}},"kind":"method","static":true,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"\"use strict\"; (class A { static constructor() { super() }})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"use strict","raw":"\"use strict\"","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},{"type":"ExpressionStatement","expression":{"type":"ClassExpression","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"constructor","loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":43}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Super","loc":{"start":{"line":1,"column":48},"end":{"line":1,"column":53}}},"arguments":[],"loc":{"start":{"line":1,"column":48},"end":{"line":1,"column":55}}},"loc":{"start":{"line":1,"column":48},"end":{"line":1,"column":55}}}],"loc":{"start":{"line":1,"column":46},"end":{"line":1,"column":57}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":43},"end":{"line":1,"column":57}}},"kind":"method","static":true,"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":57}}}],"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":58}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":58}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":59}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":59}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { foo() {} bar() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":13}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":18}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":18}}},"kind":"method","static":false,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":18}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":22}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":27}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":27}}},"kind":"method","static":false,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { get foo() {} set foo(v) {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":17}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":22}}},"kind":"get","static":false,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":22}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":30}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":32}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":36}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":36}}},"kind":"set","static":false,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":36}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":37}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static get foo() {} get foo() {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":24}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":29}}},"kind":"get","static":true,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":29}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":37}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":42}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":42}}},"kind":"get","static":false,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":42}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":43}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":43}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":43}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static get foo() {} static get bar() {} }","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":24}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":29}}},"kind":"get","static":true,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":29}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":41},"end":{"line":1,"column":44}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":47},"end":{"line":1,"column":49}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":44},"end":{"line":1,"column":49}}},"kind":"get","static":true,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":49}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":51}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static get foo() {} static set foo(v) {} get foo() {} set foo(v) {}}","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":24}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":29}}},"kind":"get","static":true,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":29}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":41},"end":{"line":1,"column":44}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":45},"end":{"line":1,"column":46}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":48},"end":{"line":1,"column":50}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":44},"end":{"line":1,"column":50}}},"kind":"set","static":true,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":50}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":55},"end":{"line":1,"column":58}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":61},"end":{"line":1,"column":63}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":58},"end":{"line":1,"column":63}}},"kind":"get","static":false,"loc":{"start":{"line":1,"column":51},"end":{"line":1,"column":63}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":68},"end":{"line":1,"column":71}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":72},"end":{"line":1,"column":73}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":75},"end":{"line":1,"column":77}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":71},"end":{"line":1,"column":77}}},"kind":"set","static":false,"loc":{"start":{"line":1,"column":64},"end":{"line":1,"column":77}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":78}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":78}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":78}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static [foo]() {} }","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},"body":[{"type":"ClassDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},"id":{"type":"Identifier","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}},"name":"A"},"superClass":null,"body":{"type":"ClassBody","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":29}},"body":[{"type":"MethodDefinition","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":27}},"static":true,"computed":true,"key":{"type":"Identifier","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":21}},"name":"foo"},"kind":"method","value":{"type":"FunctionExpression","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":27}},"id":null,"params":[],"generator":false,"body":{"type":"BlockStatement","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":27}},"body":[]},"expression":false}}]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static get [foo]() {} }","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}},"body":[{"type":"ClassDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}},"id":{"type":"Identifier","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}},"range":[6,7],"name":"A"},"superClass":null,"body":{"type":"ClassBody","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":33}},"body":[{"type":"MethodDefinition","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":31}},"static":true,"computed":true,"key":{"type":"Identifier","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":25}},"name":"foo"},"kind":"get","value":{"type":"FunctionExpression","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":31}},"id":null,"params":[],"generator":false,"body":{"type":"BlockStatement","loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":31}},"body":[]},"expression":false}}]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { set foo(v) {} get foo() {} }","expected":{"type":"Program","body":[{"type":"ClassDeclaration","id":{"type":"Identifier","name":"A","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":17}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":23}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":23}}},"kind":"set","static":false,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":23}}},{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":31}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":36}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":36}}},"kind":"get","static":false,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":36}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":38}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { foo() {} get foo() {} }","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}},"body":[{"type":"ClassDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}},"id":{"type":"Identifier","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}},"name":"A"},"superClass":null,"body":{"type":"ClassBody","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":33}},"body":[{"type":"MethodDefinition","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":18}},"static":false,"computed":false,"key":{"type":"Identifier","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":13}},"name":"foo"},"kind":"method","value":{"type":"FunctionExpression","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":18}},"id":null,"params":[],"generator":false,"body":{"type":"BlockStatement","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":18}},"body":[]},"expression":false}},{"type":"MethodDefinition","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":31}},"static":false,"computed":false,"key":{"type":"Identifier","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":26}},"name":"foo"},"kind":"get","value":{"type":"FunctionExpression","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":31}},"id":null,"params":[],"generator":false,"body":{"type":"BlockStatement","loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":31}},"body":[]},"expression":false}}]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class Semicolon { ; }","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}},"body":[{"type":"ClassDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}},"id":{"type":"Identifier","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":15}},"name":"Semicolon"},"superClass":null,"body":{"type":"ClassBody","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}},"body":[]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({[x]: 10})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":9}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({[\"x\" + \"y\"]: 10})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"BinaryExpression","operator":"+","left":{"type":"Literal","value":"x","raw":"\"x\"","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":6}}},"right":{"type":"Literal","value":"y","raw":"\"y\"","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":12}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({[x]: function() {}})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":20}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":20}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({[x]: 10, y: 20})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":9}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":9}}},{"type":"Property","key":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"value":{"type":"Literal","value":20,"raw":"20","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({get [x]() {}, set [x](v) {}})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"kind":"get","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":14}}},{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":25}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":29}}},"kind":"set","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({[x]() {}})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":10}}},"kind":"init","method":true,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var {[x]: y} = {y}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"value":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}},"init":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"value":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":18}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function f({[x]: y}) {}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"value":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"kind":"init","method":false,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":23}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var x = {*[test]() { yield *v; }}","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"init":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":15}}},"value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"YieldExpression","argument":{"type":"Identifier","name":"v","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":29}}},"delegate":true,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":32}}},"generator":true,"expression":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":32}}},"kind":"init","method":true,"shorthand":false,"computed":true,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":33}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":33}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A {[x]() {}}","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}},"body":[{"type":"ClassDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}},"id":{"type":"Identifier","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}},"name":"A"},"superClass":null,"body":{"type":"ClassBody","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":18}},"body":[{"type":"MethodDefinition","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":17}},"static":false,"computed":true,"key":{"type":"Identifier","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}},"name":"x"},"kind":"method","value":{"type":"FunctionExpression","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":17}},"id":null,"params":[],"generator":false,"body":{"type":"BlockStatement","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}},"body":[]},"expression":false}}]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({[x]})","error":"Unexpected token (1:5)","options":{"ecmaVersion":6}}, {"source":"function f([x] = [1]) {}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"AssignmentPattern","left":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":14}}},"right":{"type":"ArrayExpression","elements":[{"type":"Literal","value":1,"raw":"1","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":20}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":24}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function f({x} = {x: 10}) {}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"AssignmentPattern","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":14}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":23}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":24}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":28}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"f = function({x} = {x: 10}) {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"FunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":16}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":26}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":30}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({f: function({x} = {x: 10}) {}})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":17}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":26}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":27}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":31}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":31}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({f({x} = {x: 10}) {}})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":17}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":21}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":21}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(class {f({x} = {x: 10}) {}})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ClassExpression","superClass":null,"body":{"type":"ClassBody","body":[{"type":"MethodDefinition","computed":false,"key":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":13}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":23}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":27}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":27}}},"kind":"method","static":false,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(({x} = {x: 10}) => {})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":5}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"value":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":15}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = function(y = 1) {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"FunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"right":{"type":"Literal","value":1,"raw":"1","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":18}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function f(a = 1) {}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"AssignmentPattern","left":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"right":{"type":"Literal","value":1,"raw":"1","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":16}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":20}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { f: function(a=1) {} }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"right":{"type":"Literal","value":1,"raw":"1","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":21}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":25}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"x = { f(a=1) {} }","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"right":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"AssignmentPattern","left":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"right":{"type":"Literal","value":1,"raw":"1","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":11}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":15}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":15}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function f(a, ...b) {}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},{"type":"RestElement","argument":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function x([ a, b ]){}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function x({ a, b }){}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},{"type":"Property","key":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":19}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function x(a, { a }){}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":19}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function x(...[ a, b ]){}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":22}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"value":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"value":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":24}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":24}}},{"type":"Property","key":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":27}}},"value":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":31}}},{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":35}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":37}}},{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":43},"end":{"line":1,"column":44}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":46},"end":{"line":1,"column":47}}},{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":49},"end":{"line":1,"column":50}}}],"loc":{"start":{"line":1,"column":42},"end":{"line":1,"column":51}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":52},"end":{"line":1,"column":54}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(function x([ a, b ]){})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"params":[{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":20}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":23}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(function x({ a, b }){})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},{"type":"Property","key":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":20}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":23}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(function x(...[ a, b ]){})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"params":[{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":23}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":26}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"value":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"value":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":25}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":25}}},{"type":"Property","key":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":28}}},"value":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":32}}},{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":36}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":36}}}],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":38}}},{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":44},"end":{"line":1,"column":45}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":47},"end":{"line":1,"column":48}}},{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":50},"end":{"line":1,"column":51}}}],"loc":{"start":{"line":1,"column":43},"end":{"line":1,"column":52}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":53},"end":{"line":1,"column":55}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":55}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":56}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":56}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ x([ a, b ]){} })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":13}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":16}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ x(...[ a, b ]){} })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":16}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":19}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":19}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){} })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"FunctionExpression","id":null,"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"value":{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"value":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"value":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":18}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":18}}},{"type":"Property","key":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}}},"value":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":25}}},{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":29}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":31}}},{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":38}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":41}}},{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":43},"end":{"line":1,"column":44}}}],"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":45}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":46},"end":{"line":1,"column":48}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":48}}},"kind":"init","method":true,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":48}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":50}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(...a) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"RestElement","argument":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(a, ...b) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},{"type":"RestElement","argument":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":15}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":15}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ a }) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":6}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":13}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ a }, ...b) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":6}}},{"type":"RestElement","argument":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":19}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(...[a, b]) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"(a, ...[b]) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":10}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ a: [a, b] }, ...c) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":14}}},{"type":"RestElement","argument":{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":27}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({ a: b, c }, [d, e], ...f) => {}","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"kind":"init","method":false,"shorthand":false,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":7}}},{"type":"Property","key":{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"value":{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":12}}},{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"d","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":20}}},{"type":"RestElement","argument":{"type":"Identifier","name":"f","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":26}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":33}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"[...a] = b","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"ArrayPattern","elements":[{"type":"RestElement","argument":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"right":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"[a, ...b] = c","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},{"type":"RestElement","argument":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"right":{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"[{ a, b }, ...c] = d","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"ArrayPattern","elements":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":4}}},{"type":"Property","key":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}}],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":9}}},{"type":"RestElement","argument":{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}},"right":{"type":"Identifier","name":"d","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"[a, ...[b, c]] = d","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"right":{"type":"Identifier","name":"d","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":18}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var [...a] = b","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ArrayPattern","elements":[{"type":"RestElement","argument":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}},"init":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":14}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var [a, ...b] = c","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},{"type":"RestElement","argument":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":13}}},"init":{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":17}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var [{ a, b }, ...c] = d","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ArrayPattern","elements":[{"type":"ObjectPattern","properties":[{"type":"Property","key":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"value":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},{"type":"Property","key":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"value":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"kind":"init","method":false,"shorthand":true,"computed":false,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":13}}},{"type":"RestElement","argument":{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":20}}},"init":{"type":"Identifier","name":"d","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":24}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var [a, ...[b, c]] = d","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},{"type":"RestElement","argument":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},{"type":"Identifier","name":"c","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":17}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":18}}},"init":{"type":"Identifier","name":"d","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":22}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"func(...a)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"func","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"arguments":[{"type":"SpreadElement","argument":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"func(a, ...b)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"func","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"arguments":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},{"type":"SpreadElement","argument":{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":12}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"func(...a, b)","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},"body":[{"type":"ExpressionStatement","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},"expression":{"type":"CallExpression","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}},"callee":{"type":"Identifier","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}},"name":"func"},"arguments":[{"type":"SpreadElement","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":9}},"argument":{"type":"Identifier","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}},"name":"a"}},{"type":"Identifier","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}},"name":"b"}]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"/[a-z]/u","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","regex":{"pattern":"[a-z]","flags":"u"},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}]},"options":{"locations":true,"ecmaVersion":6}}, {"source":"/[\\uD834\\uDF06-\\uD834\\uDF08a-z]/u","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","regex":{"pattern":"[\\uD834\\uDF06-\\uD834\\uDF08a-z]","flags":"u"},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}}]},"options":{"locations":true,"ecmaVersion":6}}, {"source":"do {} while (false) foo();","expected":{"type":"Program","start":0,"end":26,"body":[{"type":"DoWhileStatement","start":0,"end":19,"body":{"type":"BlockStatement","start":3,"end":5,"body":[]},"test":{"type":"Literal","start":13,"end":18,"value":false,"raw":"false"}},{"type":"ExpressionStatement","start":20,"end":26,"expression":{"type":"CallExpression","start":20,"end":25,"callee":{"type":"Identifier","start":20,"end":23,"name":"foo"},"arguments":[]}}]},"options":{"ecmaVersion":6}}, {"source":"0o","error":"Expected number in radix 8 (1:2)","options":{"ecmaVersion":6}}, {"source":"0o1a","error":"Identifier directly after number (1:3)","options":{"ecmaVersion":6}}, {"source":"0o9","error":"Expected number in radix 8 (1:2)","options":{"ecmaVersion":6}}, {"source":"0o18","error":"Unexpected token (1:3)","options":{"ecmaVersion":6}}, {"source":"0O","error":"Expected number in radix 8 (1:2)","options":{"ecmaVersion":6}}, {"source":"0O1a","error":"Identifier directly after number (1:3)","options":{"ecmaVersion":6}}, {"source":"0O9","error":"Expected number in radix 8 (1:2)","options":{"ecmaVersion":6}}, {"source":"0O18","error":"Unexpected token (1:3)","options":{"ecmaVersion":6}}, {"source":"0b","error":"Expected number in radix 2 (1:2)","options":{"ecmaVersion":6}}, {"source":"0b1a","error":"Identifier directly after number (1:3)","options":{"ecmaVersion":6}}, {"source":"0b9","error":"Expected number in radix 2 (1:2)","options":{"ecmaVersion":6}}, {"source":"0b18","error":"Unexpected token (1:3)","options":{"ecmaVersion":6}}, {"source":"0b12","error":"Unexpected token (1:3)","options":{"ecmaVersion":6}}, {"source":"0B","error":"Expected number in radix 2 (1:2)","options":{"ecmaVersion":6}}, {"source":"0B1a","error":"Identifier directly after number (1:3)","options":{"ecmaVersion":6}}, {"source":"0B9","error":"Expected number in radix 2 (1:2)","options":{"ecmaVersion":6}}, {"source":"0B18","error":"Unexpected token (1:3)","options":{"ecmaVersion":6}}, {"source":"0B12","error":"Unexpected token (1:3)","options":{"ecmaVersion":6}}, {"source":"\"\\u{110000}\"","error":"Unexpected token (1:0)","options":{"ecmaVersion":6}}, {"source":"\"\\u{}\"","error":"Bad character escape sequence (1:0)","options":{"ecmaVersion":6}}, {"source":"\"\\u{FFFF\"","error":"Bad character escape sequence (1:0)","options":{"ecmaVersion":6}}, {"source":"\"\\u{FFZ}\"","error":"Bad character escape sequence (1:0)","options":{"ecmaVersion":6}}, {"source":"[v] += ary","error":"Assigning to rvalue (1:0)","options":{"ecmaVersion":6}}, {"source":"[2] = 42","error":"Assigning to rvalue (1:1)","options":{"ecmaVersion":6}}, {"source":"({ obj:20 }) = 42","error":"Assigning to rvalue (1:7)","options":{"ecmaVersion":6}}, {"source":"( { get x() {} } ) = 0","error":"Object pattern can't contain getter or setter (1:8)","options":{"ecmaVersion":6}}, {"source":"x \n is y","error":"Unexpected token (2:4)","options":{"ecmaVersion":6}}, {"source":"x \n isnt y","error":"Unexpected token (2:6)","options":{"ecmaVersion":6}}, {"source":"function default() {}","error":"Unexpected token (1:9)","options":{"ecmaVersion":6}}, {"source":"function hello() {'use strict'; ({ i: 10, s(eval) { } }); }","error":"Binding eval in strict mode (1:44)","options":{"ecmaVersion":6}}, {"source":"function a() { \"use strict\"; ({ b(t, t) { } }); }","error":"Argument name clash in strict mode (1:37)","options":{"ecmaVersion":6}}, {"source":"var super","error":"Unexpected token (1:4)","options":{"ecmaVersion":6}}, {"source":"var default","error":"Unexpected token (1:4)","options":{"ecmaVersion":6}}, {"source":"let default","error":"Unexpected token (1:4)","options":{"ecmaVersion":6}}, {"source":"const default","error":"Unexpected token (1:6)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; ({ v: eval }) = obj","error":"Assigning to eval in strict mode (1:20)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; ({ v: arguments }) = obj","error":"Assigning to arguments in strict mode (1:20)","options":{"ecmaVersion":6}}, {"source":"for (let x = 42 in list) process(x);","error":"Unexpected token (1:16)","options":{"ecmaVersion":6}}, {"source":"for (let x = 42 of list) process(x);","error":"Unexpected token (1:16)","options":{"ecmaVersion":6}}, {"source":"import foo","error":"Unexpected token (1:10)","options":{"ecmaVersion":6,"sourceType":"module"}}, {"source":"import { foo, bar }","error":"Unexpected token (1:19)","options":{"ecmaVersion":6,"sourceType":"module"}}, {"source":"import foo from bar","error":"Unexpected token (1:16)","options":{"ecmaVersion":6,"sourceType":"module"}}, {"source":"((a)) => 42","error":"Unexpected token (1:1)","options":{"ecmaVersion":6}}, {"source":"(a, (b)) => 42","error":"Unexpected token (1:4)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; (eval = 10) => 42","error":"Assigning to eval in strict mode (1:15)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; eval => 42","error":"Binding eval in strict mode (1:14)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; arguments => 42","error":"Binding arguments in strict mode (1:14)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; (eval, a) => 42","error":"Binding eval in strict mode (1:15)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; (arguments, a) => 42","error":"Binding arguments in strict mode (1:15)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; (eval, a = 10) => 42","error":"Binding eval in strict mode (1:15)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; (a, a) => 42","error":"Argument name clash in strict mode (1:18)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; (a) => 00","error":"Invalid number (1:21)","options":{"ecmaVersion":6}}, {"source":"() <= 42","error":"Unexpected token (1:1)","options":{"ecmaVersion":6}}, {"source":"(10) => 00","error":"Assigning to rvalue (1:1)","options":{"ecmaVersion":6}}, {"source":"(10, 20) => 00","error":"Assigning to rvalue (1:1)","options":{"ecmaVersion":6}}, {"source":"yield v","error":"Unexpected token (1:6)","options":{"ecmaVersion":6}}, {"source":"yield 10","error":"Unexpected token (1:6)","options":{"ecmaVersion":6}}, {"source":"void { [1, 2]: 3 };","error":"Unexpected token (1:9)","options":{"ecmaVersion":6}}, {"source":"yield* 10","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","operator":"*","left":{"type":"Identifier","name":"yield","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"right":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"options":{"ecmaVersion":6,"loose":false,"ranges":true,"locations":true}}, {"source":"e => yield* 10","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression","id":null,"params":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"body":{"type":"BinaryExpression","operator":"*","left":{"type":"Identifier","name":"yield","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":10}}},"right":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":14}}},"generator":false,"expression":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"options":{"ecmaVersion":6,"loose":false,"ranges":true,"locations":true}}, {"source":"(function () { yield 10 })","error":"Unexpected token (1:21)","options":{"ecmaVersion":6}}, {"source":"(function () { yield* 10 })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","operator":"*","left":{"type":"Identifier","name":"yield","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}}},"right":{"type":"Literal","value":10,"raw":"10","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":26}}},"generator":false,"expression":false,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}},"options":{"ecmaVersion":6,"loose":false,"ranges":true,"locations":true}}, {"source":"(function() { \"use strict\"; f(yield v) })","error":"Unexpected token (1:36)","options":{"ecmaVersion":6}}, {"source":"var obj = { *test** }","error":"Unexpected token (1:17)","options":{"ecmaVersion":6}}, {"source":"class A extends yield B { }","error":"Unexpected token (1:22)","options":{"ecmaVersion":6}}, {"source":"class default","error":"Unexpected token (1:6)","options":{"ecmaVersion":6}}, {"source":"`test","error":"Unterminated template (1:1)","options":{"ecmaVersion":6}}, {"source":"switch `test`","error":"Unexpected token (1:7)","options":{"ecmaVersion":6}}, {"source":"`hello ${10 `test`","error":"Unexpected token (1:18)","options":{"ecmaVersion":6}}, {"source":"`hello ${10;test`","error":"Unexpected token (1:11)","options":{"ecmaVersion":6}}, {"source":"function a() 1 // expression closure is not supported","error":"Unexpected token (1:13)","options":{"ecmaVersion":6}}, {"source":"[for (let x of []) x]","error":"Unexpected token (1:6)","options":{"ecmaVersion":7}}, {"source":"[for (const x of []) x]","error":"Unexpected token (1:6)","options":{"ecmaVersion":7}}, {"source":"[for (var x of []) x]","error":"Unexpected token (1:6)","options":{"ecmaVersion":7}}, {"source":"[for (a in []) x] // (a,b) ","error":"Unexpected token (1:8)","options":{"ecmaVersion":7}}, {"source":"var a = [if (x) x]","error":"Unexpected token (1:9)","options":{"ecmaVersion":6}}, {"source":"[for (x of [])] // no expression","error":"Unexpected token (1:14)","options":{"ecmaVersion":7}}, {"source":"({ \"chance\" }) = obj","error":"Unexpected token (1:12)","options":{"ecmaVersion":6}}, {"source":"({ 42 }) = obj","error":"Unexpected token (1:6)","options":{"ecmaVersion":6}}, {"source":"function f(a, ...b, c)","error":"Unexpected token (1:18)","options":{"ecmaVersion":6}}, {"source":"function f(a, ...b = 0)","error":"Unexpected token (1:19)","options":{"ecmaVersion":6}}, {"source":"function x(...{ a }){}","error":"Unexpected token (1:14)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; function x(a, { a }){}","error":"Argument name clash in strict mode (1:30)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; function x({ b: { a } }, [{ b: { a } }]){}","error":"Argument name clash in strict mode (1:47)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; function x(a, ...[a]){}","error":"Argument name clash in strict mode (1:32)","options":{"ecmaVersion":6}}, {"source":"(...a, b) => {}","error":"Unexpected token (1:5)","options":{"ecmaVersion":6}}, {"source":"([ 5 ]) => {}","error":"Assigning to rvalue (1:3)","options":{"ecmaVersion":6}}, {"source":"({ 5 }) => {}","error":"Unexpected token (1:5)","options":{"ecmaVersion":6}}, {"source":"(...[ 5 ]) => {}","error":"Unexpected token (1:6)","options":{"ecmaVersion":6}}, {"source":"[...{ a }] = b","error":"Unexpected token (1:4)","options":{"ecmaVersion":6}}, {"source":"[...a, b] = c","error":"Assigning to rvalue (1:1)","options":{"ecmaVersion":6}}, {"source":"({ t(eval) { \"use strict\"; } });","error":"Binding eval in strict mode (1:5)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; `${test}\\02`;","error":"Octal literal in strict mode (1:22)","options":{"ecmaVersion":6}}, {"source":"if (1) import \"acorn\";","error":"'import' and 'export' may only appear at the top level (1:7)","options":{"ecmaVersion":6}}, {"source":"[...a, ] = b","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},"body":[{"type":"ExpressionStatement","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},"expression":{"type":"AssignmentExpression","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}},"operator":"=","left":{"type":"ArrayPattern","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}},"elements":[{"type":"RestElement","loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":5}},"argument":{"type":"Identifier","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}},"name":"a"}}]},"right":{"type":"Identifier","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}},"name":"b"}}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"if (b,...a, );","error":"Unexpected token (1:6)","options":{"ecmaVersion":6}}, {"source":"(b, ...a)","error":"Unexpected token (1:4)","options":{"ecmaVersion":6}}, {"source":"switch (cond) { case 10: let a = 20; ","error":"Unexpected token (1:37)","options":{"ecmaVersion":6}}, {"source":"\"use strict\"; (eval) => 42","error":"Binding eval in strict mode (1:15)","options":{"ecmaVersion":6}}, {"source":"(eval) => { \"use strict\"; 42 }","error":"Binding eval in strict mode (1:1)","options":{"ecmaVersion":6}}, {"source":"({ get test() { } }) => 42","error":"Object pattern can't contain getter or setter (1:7)","options":{"ecmaVersion":6}}, {"source":"doSmth(`${x} + ${y} = ${x + y}`)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"doSmth"},"arguments":[{"type":"TemplateLiteral","expressions":[{"type":"Identifier","name":"x"},{"type":"Identifier","name":"y"},{"type":"BinaryExpression","left":{"type":"Identifier","name":"x"},"operator":"+","right":{"type":"Identifier","name":"y"}}],"quasis":[{"type":"TemplateElement","value":{"cooked":"","raw":""},"tail":false},{"type":"TemplateElement","value":{"cooked":" + ","raw":" + "},"tail":false},{"type":"TemplateElement","value":{"cooked":" = ","raw":" = "},"tail":false},{"type":"TemplateElement","value":{"cooked":"","raw":""},"tail":true}]}]}}]},"options":{"ecmaVersion":6}}, {"source":"function normal(x, y = 10) {}","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"normal"},"params":[{"type":"Identifier","name":"x"},{"type":"AssignmentPattern","left":{"type":"Identifier","name":"y"},"right":{"type":"Literal","value":10,"raw":"10"}}],"generator":false,"body":{"type":"BlockStatement","body":[]},"expression":false}]},"options":{"ecmaVersion":6}}, {"source":"'use strict'; function f([x,,z]) {}","expected":{},"options":{"ecmaVersion":6}}, {"source":"() => 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ArrowFunctionExpression"}}]},"options":{"ecmaVersion":6,"preserveParens":true}}, {"source":"(for (x of array) for (y of array2) if (x === test) x)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ComprehensionExpression"}}]},"options":{"ecmaVersion":7,"preserveParens":true}}, {"source":"import foo, * as bar from 'baz';","expected":{"type":"Program","body":[{"type":"ImportDeclaration","specifiers":[{"type":"ImportDefaultSpecifier","local":{"type":"Identifier","name":"foo"}},{"type":"ImportNamespaceSpecifier","local":{"type":"Identifier","name":"bar"}}],"source":{"type":"Literal","value":"baz","raw":"'baz'"}}]},"options":{"ecmaVersion":6,"sourceType":"module"}}, {"source":"`{${x}}`, `}`","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"SequenceExpression","expressions":[{"type":"TemplateLiteral","expressions":[{"type":"Identifier","name":"x"}],"quasis":[{"type":"TemplateElement","value":{"cooked":"{","raw":"{"},"tail":false},{"type":"TemplateElement","value":{"cooked":"}","raw":"}"},"tail":true}]},{"type":"TemplateLiteral","expressions":[],"quasis":[{"type":"TemplateElement","value":{"cooked":"}","raw":"}"},"tail":true}]}]}}]},"options":{"ecmaVersion":6}}, {"source":"var {get} = obj;","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"ObjectPattern","properties":[{"type":"Property","method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","name":"get"},"kind":"init","value":{"type":"Identifier","name":"get"}}]},"init":{"type":"Identifier","name":"obj"}}],"kind":"var"}]},"options":{"ecmaVersion":6}}, {"source":"var {propName: localVar = defaultValue} = obj","expected":{"type":"Program","range":[0,45],"body":[{"type":"VariableDeclaration","range":[0,45],"declarations":[{"type":"VariableDeclarator","range":[4,45],"id":{"type":"ObjectPattern","range":[4,39],"properties":[{"type":"Property","range":[5,38],"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","range":[5,13],"name":"propName"},"value":{"type":"AssignmentPattern","range":[15,38],"operator":"=","left":{"type":"Identifier","range":[15,23],"name":"localVar"},"right":{"type":"Identifier","range":[26,38],"name":"defaultValue"}},"kind":"init"}]},"init":{"type":"Identifier","range":[42,45],"name":"obj"}}],"kind":"var"}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var {propName = defaultValue} = obj","expected":{"type":"Program","range":[0,35],"body":[{"type":"VariableDeclaration","range":[0,35],"declarations":[{"type":"VariableDeclarator","range":[4,35],"id":{"type":"ObjectPattern","range":[4,29],"properties":[{"type":"Property","range":[5,28],"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","range":[5,13],"name":"propName"},"kind":"init","value":{"type":"AssignmentPattern","range":[5,28],"operator":"=","left":{"type":"Identifier","range":[5,13],"name":"propName"},"right":{"type":"Identifier","range":[16,28],"name":"defaultValue"}}}]},"init":{"type":"Identifier","range":[32,35],"name":"obj"}}],"kind":"var"}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"var [localVar = defaultValue] = obj","expected":{"type":"Program","range":[0,35],"body":[{"type":"VariableDeclaration","range":[0,35],"declarations":[{"type":"VariableDeclarator","range":[4,35],"id":{"type":"ArrayPattern","range":[4,29],"elements":[{"type":"AssignmentPattern","range":[5,28],"operator":"=","left":{"type":"Identifier","range":[5,13],"name":"localVar"},"right":{"type":"Identifier","range":[16,28],"name":"defaultValue"}}]},"init":{"type":"Identifier","range":[32,35],"name":"obj"}}],"kind":"var"}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"({x = 0} = obj)","expected":{"type":"Program","range":[0,15],"body":[{"type":"ExpressionStatement","range":[0,15],"expression":{"type":"AssignmentExpression","range":[1,14],"operator":"=","left":{"type":"ObjectPattern","range":[1,8],"properties":[{"type":"Property","range":[2,7],"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","range":[2,3],"name":"x"},"kind":"init","value":{"type":"AssignmentPattern","range":[2,7],"operator":"=","left":{"type":"Identifier","range":[2,3],"name":"x"},"right":{"type":"Literal","range":[6,7],"value":0}}}]},"right":{"type":"Identifier","range":[11,14],"name":"obj"}}}]},"options":{"ecmaVersion":6,"ranges":true}}, {"source":"({x = 0}) => x","expected":{"type":"Program","range":[0,14],"body":[{"type":"ExpressionStatement","range":[0,14],"expression":{"type":"ArrowFunctionExpression","range":[0,14],"id":null,"generator":false,"expression":true,"params":[{"type":"ObjectPattern","range":[1,8],"properties":[{"type":"Property","range":[2,7],"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","range":[2,3],"name":"x"},"kind":"init","value":{"type":"AssignmentPattern","range":[2,7],"operator":"=","left":{"type":"Identifier","range":[2,3],"name":"x"},"right":{"type":"Literal","range":[6,7],"value":0}}}]}],"body":{"type":"Identifier","range":[13,14],"name":"x"}}}]},"options":{"ecmaVersion":6,"ranges":true}}, {"source":"[a, {b: {c = 1}}] = arr","expected":{"type":"Program","range":[0,23],"body":[{"type":"ExpressionStatement","range":[0,23],"expression":{"type":"AssignmentExpression","range":[0,23],"operator":"=","left":{"type":"ArrayPattern","range":[0,17],"elements":[{"type":"Identifier","range":[1,2],"name":"a"},{"type":"ObjectPattern","range":[4,16],"properties":[{"type":"Property","range":[5,15],"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","range":[5,6],"name":"b"},"value":{"type":"ObjectPattern","range":[8,15],"properties":[{"type":"Property","range":[9,14],"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","range":[9,10],"name":"c"},"kind":"init","value":{"type":"AssignmentPattern","range":[9,14],"operator":"=","left":{"type":"Identifier","range":[9,10],"name":"c"},"right":{"type":"Literal","range":[13,14],"value":1}}}]},"kind":"init"}]}]},"right":{"type":"Identifier","range":[20,23],"name":"arr"}}}]},"options":{"ecmaVersion":6,"ranges":true}}, {"source":"for ({x = 0} in arr);","expected":{"type":"Program","range":[0,21],"body":[{"type":"ForInStatement","range":[0,21],"left":{"type":"ObjectPattern","range":[5,12],"properties":[{"type":"Property","range":[6,11],"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","range":[6,7],"name":"x"},"kind":"init","value":{"type":"AssignmentPattern","range":[6,11],"operator":"=","left":{"type":"Identifier","range":[6,7],"name":"x"},"right":{"type":"Literal","range":[10,11],"value":0}}}]},"right":{"type":"Identifier","range":[16,19],"name":"arr"},"body":{"type":"EmptyStatement","range":[20,21]}}]},"options":{"ecmaVersion":6,"ranges":true}}, {"source":"obj = {x = 0}","error":"Unexpected token (1:9)","options":{"ecmaVersion":6}}, {"source":"f({x = 0})","error":"Unexpected token (1:5)","options":{"ecmaVersion":6}}, {"source":"try {} catch ({message}) {}","expected":{"type":"Program","range":[0,27],"body":[{"type":"TryStatement","range":[0,27],"block":{"type":"BlockStatement","range":[4,6],"body":[]},"handler":{"type":"CatchClause","range":[7,27],"param":{"type":"ObjectPattern","range":[14,23],"properties":[{"type":"Property","range":[15,22],"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","range":[15,22],"name":"message"},"kind":"init","value":{"type":"Identifier","range":[15,22],"name":"message"}}]},"guard":null,"body":{"type":"BlockStatement","range":[25,27],"body":[]}},"finalizer":null}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"class A { static() {} }","expected":{"type":"Program","range":[0,23],"body":[{"type":"ClassDeclaration","range":[0,23],"id":{"type":"Identifier","range":[6,7],"name":"A"},"superClass":null,"body":{"type":"ClassBody","range":[8,23],"body":[{"type":"MethodDefinition","range":[10,21],"computed":false,"key":{"type":"Identifier","range":[10,16],"name":"static"},"static":false,"kind":"method","value":{"type":"FunctionExpression","range":[16,21],"id":null,"params":[],"generator":false,"body":{"type":"BlockStatement","range":[19,21],"body":[]},"expression":false}}]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"for (const x of list) process(x);","expected":{"type":"Program","body":[{"type":"ForOfStatement","left":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","range":[11,12]},"init":null,"range":[11,12]}],"kind":"const","range":[5,12]},"right":{"type":"Identifier","name":"list","range":[16,20]},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"process","range":[22,29]},"arguments":[{"type":"Identifier","name":"x","range":[30,31]}],"range":[22,32]},"range":[22,33]},"range":[0,33]}],"range":[0,33]},"options":{"ecmaVersion":6,"ranges":true}}, {"source":"class A { *static() {} }","expected":{"type":"Program","range":[0,24],"body":[{"type":"ClassDeclaration","range":[0,24],"id":{"type":"Identifier","range":[6,7],"name":"A"},"superClass":null,"body":{"type":"ClassBody","range":[8,24],"body":[{"type":"MethodDefinition","range":[10,22],"computed":false,"key":{"type":"Identifier","range":[11,17],"name":"static"},"static":false,"kind":"method","value":{"type":"FunctionExpression","range":[17,22],"id":null,"params":[],"generator":true,"body":{"type":"BlockStatement","range":[20,22],"body":[]},"expression":false}}]}}]},"options":{"ecmaVersion":6,"ranges":true,"locations":true}}, {"source":"`${/\\d/.exec('1')[0]}`","expected":{"type":"Program","start":0,"end":22,"body":[{"type":"ExpressionStatement","start":0,"end":22,"expression":{"type":"TemplateLiteral","start":0,"end":22,"expressions":[{"type":"MemberExpression","start":3,"end":20,"object":{"type":"CallExpression","start":3,"end":17,"callee":{"type":"MemberExpression","start":3,"end":12,"object":{"type":"Literal","start":3,"end":7,"regex":{"pattern":"\\d","flags":""},"value":{},"raw":"/\\d/"},"property":{"type":"Identifier","start":8,"end":12,"name":"exec"},"computed":false},"arguments":[{"type":"Literal","start":13,"end":16,"value":"1","raw":"'1'"}]},"property":{"type":"Literal","start":18,"end":19,"value":0,"raw":"0"},"computed":true}],"quasis":[{"type":"TemplateElement","start":1,"end":1,"value":{"raw":"","cooked":""},"tail":false},{"type":"TemplateElement","start":21,"end":21,"value":{"raw":"","cooked":""},"tail":true}]}}]},"options":{"ecmaVersion":6}}, {"source":"var _𐒦 = 10;","expected":{"type":"Program","start":0,"end":13,"body":[{"type":"VariableDeclaration","start":0,"end":13,"declarations":[{"type":"VariableDeclarator","start":4,"end":12,"id":{"type":"Identifier","start":4,"end":7,"name":"_𐒦"},"init":{"type":"Literal","start":10,"end":12,"value":10,"raw":"10"}}],"kind":"var"}]},"options":{"ecmaVersion":6}}, {"source":"var 𫠝_ = 10;","expected":{"type":"Program","start":0,"end":13,"body":[{"type":"VariableDeclaration","start":0,"end":13,"declarations":[{"type":"VariableDeclarator","start":4,"end":12,"id":{"type":"Identifier","start":4,"end":7,"name":"𫠝_"},"init":{"type":"Literal","start":10,"end":12,"value":10,"raw":"10"}}],"kind":"var"}]},"options":{"ecmaVersion":6}}, {"source":"var _\\u{104A6} = 10;","expected":{"type":"Program","start":0,"end":20,"body":[{"type":"VariableDeclaration","start":0,"end":20,"declarations":[{"type":"VariableDeclarator","start":4,"end":19,"id":{"type":"Identifier","start":4,"end":14,"name":"_𐒦"},"init":{"type":"Literal","start":17,"end":19,"value":10,"raw":"10"}}],"kind":"var"}]},"options":{"ecmaVersion":6}}, {"source":"let [x,] = [1]","expected":{"start":0,"body":[{"start":0,"declarations":[{"start":4,"id":{"start":4,"elements":[{"start":5,"name":"x","type":"Identifier","end":6}],"type":"ArrayPattern","end":8},"init":{"start":11,"elements":[{"start":12,"value":1,"raw":"1","type":"Literal","end":13}],"type":"ArrayExpression","end":14},"type":"VariableDeclarator","end":14}],"kind":"let","type":"VariableDeclaration","end":14}],"type":"Program","end":14},"options":{"ecmaVersion":6}}, {"source":"let {x} = y","expected":{"start":0,"body":[{"start":0,"declarations":[{"start":4,"id":{"start":4,"properties":[{"start":5,"method":false,"shorthand":true,"computed":false,"key":{"start":5,"name":"x","type":"Identifier","end":6},"kind":"init","value":{"start":5,"name":"x","type":"Identifier","end":6},"type":"Property","end":6}],"type":"ObjectPattern","end":7},"init":{"start":10,"name":"y","type":"Identifier","end":11},"type":"VariableDeclarator","end":11}],"kind":"let","type":"VariableDeclaration","end":11}],"type":"Program","end":11},"options":{"ecmaVersion":6}}, {"source":"[x,,] = 1","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"ArrayPattern","elements":[{"type":"Identifier","name":"x"},null]},"right":{"type":"Literal","value":1,"raw":"1"}}}]},"options":{"ecmaVersion":6}}, {"source":"for (var [name, value] in obj) {}","expected":{"body":[{"left":{"declarations":[{"id":{"elements":[{"name":"name","type":"Identifier"},{"name":"value","type":"Identifier"}],"type":"ArrayPattern"},"init":null,"type":"VariableDeclarator"}],"kind":"var","type":"VariableDeclaration"},"right":{"name":"obj","type":"Identifier"},"body":{"body":[],"type":"BlockStatement"},"type":"ForInStatement"}],"sourceType":"script","type":"Program"},"options":{"ecmaVersion":6}}, {"source":"let [x]","error":"Complex binding patterns require an initialization value (1:7)","options":{"ecmaVersion":6}}, {"source":"var [x]","error":"Complex binding patterns require an initialization value (1:7)","options":{"ecmaVersion":6}}, {"source":"var _𖫵 = 11;","error":"Unexpected character '𖫵' (1:5)","options":{"ecmaVersion":6}}, {"source":"var 𫠞_ = 12;","error":"Unexpected character '𫠞' (1:4)","options":{"ecmaVersion":6}}, {"source":"var 𫠝_ = 10;","error":"Unexpected character '𫠝' (1:4)","options":{"ecmaVersion":5}}, {"source":"if (1) let x = 10;","error":"Unexpected token (1:7)","options":{"ecmaVersion":6}}, {"source":"for (;;) const x = 10;","error":"Unexpected token (1:9)","options":{"ecmaVersion":6}}, {"source":"while (1) function foo(){}","error":"Unexpected token (1:10)","options":{"ecmaVersion":6}}, {"source":"if (1) ; else class Cls {}","error":"Unexpected token (1:14)","options":{"ecmaVersion":6}}, {"source":"'use strict'; [...eval] = arr","error":"Assigning to eval in strict mode (1:18)","options":{"ecmaVersion":6}}, {"source":"'use strict'; ({eval = defValue} = obj)","error":"Assigning to eval in strict mode (1:16)","options":{"ecmaVersion":6}}, {"source":"[...eval] = arr","error":"Assigning to eval in strict mode (1:4)","options":{"ecmaVersion":6,"sourceType":"module"}}, {"source":"function* y({yield}) {}","error":"Binding yield (1:13)","options":{"ecmaVersion":6}}, {"source":"new.target","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MetaProperty","meta":{"type":"Identifier","name":"new"},"property":{"type":"Identifier","name":"target"}}}],"sourceType":"script"},"options":{"ecmaVersion":6}}, {"source":"new.prop","error":"The only valid meta property for new is new.target (1:4)","options":{"ecmaVersion":6}}, {"source":"export default function foo() {} false","expected":{"body":[{"declaration":{"id":{"name":"foo","type":"Identifier"},"generator":false,"expression":false,"params":[],"body":{"body":[],"type":"BlockStatement"},"type":"FunctionDeclaration"},"type":"ExportDefaultDeclaration"},{"expression":{"value":false,"raw":"false","type":"Literal"},"type":"ExpressionStatement"}],"sourceType":"module","type":"Program"},"options":{"ecmaVersion":6,"sourceType":"module"}} ]