[ {"source":"this\n","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ThisExpression","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":2,"column":0}}}}, {"source":"null\n","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":null,"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":2,"column":0}}}}, {"source":"\n 42\n\n","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}},"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":0}}}}, {"source":"/foobar/","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":{},"regex":{"pattern":"foobar","flags":""},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}]}}, {"source":"/[a-z]/g","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":{},"regex":{"pattern":"[a-z]","flags":"g"},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}]}}, {"source":"(1 + 2 ) * 3","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},"operator":"+","right":{"type":"Literal","value":2,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":6}}},"operator":"*","right":{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":11},"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}}}}, {"source":"(1 + 2 ) * 3","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"ParenthesizedExpression","expression":{"type":"BinaryExpression","left":{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}}},"operator":"+","right":{"type":"Literal","value":2,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"operator":"*","right":{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":11},"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":{"locations":true,"preserveParens":true}}, {"source":"(x) = 23","error":"Assigning to rvalue (1:0)","options":{"preserveParens":true}}, {"source":"x = []","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":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x = [ ]","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":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x = [ 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":"ArrayExpression","elements":[{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x = [ 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":"ArrayExpression","elements":[{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}}, {"source":"x = [ ,, 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":"ArrayExpression","elements":[null,null,{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x = [ 1, 2, 3, ]","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":"ArrayExpression","elements":[{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},{"type":"Literal","value":2,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}}, {"source":"x = [ 1, 2,, 3, ]","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":"ArrayExpression","elements":[{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},{"type":"Literal","value":2,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},null,{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}}],"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}}}}, {"source":"日本語 = []","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"日本語","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},"right":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}, {"source":"T‿ = []","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"T‿","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}},"right":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"T‌ = []","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"T‌","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}},"right":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"T‍ = []","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"T‍","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}},"right":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"ⅣⅡ = []","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"ⅣⅡ","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}},"right":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"ⅣⅡ = []","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"ⅣⅡ","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}},"right":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x = {}","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":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x = { }","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":[],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x = { answer: 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":"answer","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"value":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":16}}},"kind":"init"}],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x = { if: 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":"if","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":8}}},"value":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"kind":"init"}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}}, {"source":"x = { true: 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":"true","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":10}}},"value":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"kind":"init"}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}}, {"source":"x = { false: 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":"false","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":11}}},"value":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":15}}},"kind":"init"}],"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}}}}, {"source":"x = { null: 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":"null","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":10}}},"value":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":14}}},"kind":"init"}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}}, {"source":"x = { \"answer\": 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":"Literal","value":"answer","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":14}}},"value":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":18}}},"kind":"init"}],"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}}}}, {"source":"x = { x: 1, x: 2 }","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":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"value":{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"kind":"init"},{"type":"Property","key":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"value":{"type":"Literal","value":2,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"kind":"init"}],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x = { get width() { return m_width } }","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":"width","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":15}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":{"type":"Identifier","name":"m_width","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":36}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}}, {"source":"x = { get undef() {} }","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":"undef","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":15}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":15},"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}}}}, {"source":"x = { get if() {} }","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":"if","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":12},"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}}}}, {"source":"x = { get true() {} }","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":"true","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":19}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}}, {"source":"x = { get false() {} }","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":"false","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":15}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":15},"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}}}}, {"source":"x = { get null() {} }","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":"null","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":19}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}}, {"source":"x = { get \"undef\"() {} }","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":"undef","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":17}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":17},"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}}}}, {"source":"x = { get 10() {} }","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":10,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"kind":"get","value":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":12},"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}}}}, {"source":"x = { set width(w) { m_width = w } }","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":"width","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":15}}},"kind":"set","value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"m_width","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":28}}},"right":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":34}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}}}, {"source":"x = { set if(w) { m_if = w } }","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":"if","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"kind":"set","value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"m_if","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":22}}},"right":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":28}}}}],"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}}}}, {"source":"x = { set true(w) { m_true = w } }","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":"true","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}}},"kind":"set","value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"m_true","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":26}}},"right":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":32}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}}, {"source":"x = { set false(w) { m_false = w } }","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":"false","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":15}}},"kind":"set","value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"m_false","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":28}}},"right":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":34}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}}}, {"source":"x = { set null(w) { m_null = w } }","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":"null","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}}},"kind":"set","value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"m_null","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":26}}},"right":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":32}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}}, {"source":"x = { set \"null\"(w) { m_null = w } }","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":"null","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":16}}},"kind":"set","value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"m_null","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":28}}},"right":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":34}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}}}, {"source":"x = { set 10(w) { m_null = w } }","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":10,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"kind":"set","value":{"type":"FunctionExpression","id":null,"params":[{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"m_null","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":24}}},"right":{"type":"Identifier","name":"w","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":30}}}}],"loc":{"start":{"line":1,"column":4},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}}}}, {"source":"x = { get: 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":"get","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":9}}},"value":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":13}}},"kind":"init"}],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x = { set: 43 }","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":"Literal","value":43,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":13}}},"kind":"init"}],"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"/* block comment */ 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":22}}}}, {"source":"42 /*The*/ /*Answer*/","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"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":21}}}}, {"source":"42 /*the*/ /*answer*/","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"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":21}}}}, {"source":"/* multiline\ncomment\nshould\nbe\nignored */ 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":5,"column":11},"end":{"line":5,"column":13}}},"loc":{"start":{"line":5,"column":11},"end":{"line":5,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":13}}}}, {"source":"/*a\r\nb*/ 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}},"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}}, {"source":"/*a\rb*/ 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}},"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}}, {"source":"/*a\nb*/ 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}},"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}}, {"source":"/*a\nc*/ 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}},"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}}, {"source":"// line comment\n42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":2}}}}, {"source":"42 // line comment","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"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":18}}}}, {"source":"// Hello, world!\n42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":2}}}}, {"source":"// Hello, world!\n","expected":{"type":"Program","body":[],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":0}}}}, {"source":"// Hallo, world!\n","expected":{"type":"Program","body":[],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":0}}}}, {"source":"//\n42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":2}}}}, {"source":"//","expected":{"type":"Program","body":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}}, {"source":"// ","expected":{"type":"Program","body":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}}, {"source":"/**/42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"// Hello, world!\n\n// Another hello\n42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"loc":{"start":{"line":4,"column":0},"end":{"line":4,"column":2}}},"loc":{"start":{"line":4,"column":0},"end":{"line":4,"column":2}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":2}}}}, {"source":"if (x) { // Some comment\ndoThat(); }","expected":{"type":"Program","body":[{"type":"IfStatement","test":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"consequent":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"doThat","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6}}},"arguments":[],"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":8}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":9}}}],"loc":{"start":{"line":1,"column":7},"end":{"line":2,"column":11}}},"alternate":null,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":11}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":11}}}}, {"source":"switch (answer) { case 42: /* perfect */ bingo() }","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","consequent":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"bingo","loc":{"start":{"line":1,"column":41},"end":{"line":1,"column":46}}},"arguments":[],"loc":{"start":{"line":1,"column":41},"end":{"line":1,"column":48}}},"loc":{"start":{"line":1,"column":41},"end":{"line":1,"column":48}}}],"test":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":48}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}}}}, {"source":"0","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}}, {"source":"3","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}}, {"source":"5","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":5,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}}, {"source":"42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":42,"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}}}}, {"source":".14","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0.14,"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}}}}, {"source":"3.14159","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":3.14159,"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}}}}, {"source":"6.02214179e+23","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":6.02214179e+23,"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}}}}, {"source":"1.492417830e-10","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":1.49241783e-10,"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}}}}, {"source":"0x0","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"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}}}}, {"source":"0e+100","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"0xabc","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":2748,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"0xdef","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":3567,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"0X1A","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":26,"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}}}}, {"source":"0x10","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":16,"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}}}}, {"source":"0x100","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":256,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"0X04","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":4,"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}}}}, {"source":"02","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":2,"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}}}}, {"source":"012","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":10,"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}}}}, {"source":"0012","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":10,"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}}}}, {"source":"\"Hello\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello","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}}}}, {"source":"\"\\n\\r\\t\\v\\b\\f\\\\\\'\\\"\\0\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"\n\r\t\u000b\b\f\\'\"\u0000","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}}}}, {"source":"\"\\u0061\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"a","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}, {"source":"\"\\x61\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"a","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"\"Hello\\nworld\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello\nworld","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}}}}, {"source":"\"Hello\\\nworld\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Helloworld","loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}}, {"source":"\"Hello\\02World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello\u0002World","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}}}}, {"source":"\"Hello\\012World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello\nWorld","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}}}}, {"source":"\"Hello\\122World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"HelloRWorld","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}}}}, {"source":"\"Hello\\0122World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello\n2World","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}}}}, {"source":"\"Hello\\312World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"HelloÊWorld","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}}}}, {"source":"\"Hello\\412World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello!2World","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}}}}, {"source":"\"Hello\\812World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello812World","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}}}}, {"source":"\"Hello\\712World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello92World","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}}}}, {"source":"\"Hello\\0World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello\u0000World","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}}}}, {"source":"\"Hello\\\r\nworld\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Helloworld","loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":6}}}}, {"source":"\"Hello\\1World\"","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"Hello\u0001World","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}}}}, {"source":"var x = /[a-z]/i","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":"Literal","value":{},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":16}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}}, {"source":"var x = /[x-z]/i","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":"Literal","value":{},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":16}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}}, {"source":"var x = /[a-c]/i","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":"Literal","value":{},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":16}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":16}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}}, {"source":"var x = /[P QR]/i","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":"Literal","value":{},"loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"var x = /foo\\/bar/","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":"Literal","value":{},"loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"var x = /=([^=\\s])+/g","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":"Literal","value":{},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":21}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}}, {"source":"var x = /[P QR]/\\u0067","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":"Literal","value":{},"loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"new Button","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"NewExpression","callee":{"type":"Identifier","name":"Button","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}},"arguments":[],"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}}}}, {"source":"new Button()","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"NewExpression","callee":{"type":"Identifier","name":"Button","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}},"arguments":[],"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}}}}, {"source":"new new foo","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"NewExpression","callee":{"type":"NewExpression","callee":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":11}}},"arguments":[],"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}}}}, {"source":"new new foo()","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"NewExpression","callee":{"type":"NewExpression","callee":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":11}}},"arguments":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":13}}},"arguments":[],"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}}}}, {"source":"new foo().bar()","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"MemberExpression","object":{"type":"NewExpression","callee":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"arguments":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"property":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":13}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}},"arguments":[],"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}}}}, {"source":"new foo[bar]","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"NewExpression","callee":{"type":"MemberExpression","object":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"property":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":11}}},"computed":true,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":12}}},"arguments":[],"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}}}}, {"source":"new foo.bar()","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"NewExpression","callee":{"type":"MemberExpression","object":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"property":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":11}}},"computed":false,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"arguments":[],"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}}}}, {"source":"( new foo).bar()","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"MemberExpression","object":{"type":"NewExpression","callee":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":9}}},"arguments":[],"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":9}}},"property":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":14}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}},"arguments":[],"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}}}}, {"source":"foo(bar, baz)","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":"Identifier","name":"bar","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},{"type":"Identifier","name":"baz","loc":{"start":{"line":1,"column":9},"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}}}}, {"source":"( foo )()","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":8}}},"arguments":[],"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}}}}, {"source":"universe.milkyway","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"milkyway","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":17}}},"computed":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}}}}, {"source":"universe.milkyway.solarsystem","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"milkyway","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":17}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"property":{"type":"Identifier","name":"solarsystem","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":29}}},"computed":false,"loc":{"start":{"line":1,"column":0},"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}}}}, {"source":"universe.milkyway.solarsystem.Earth","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"MemberExpression","object":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"milkyway","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":17}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":17}}},"property":{"type":"Identifier","name":"solarsystem","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":29}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}},"property":{"type":"Identifier","name":"Earth","loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":35}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}}}}, {"source":"universe[galaxyName, otherUselessName]","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"SequenceExpression","expressions":[{"type":"Identifier","name":"galaxyName","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":19}}},{"type":"Identifier","name":"otherUselessName","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":37}}}],"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":37}}},"computed":true,"loc":{"start":{"line":1,"column":0},"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}}}}, {"source":"universe[galaxyName]","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"galaxyName","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":19}}},"computed":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}}}}, {"source":"universe[42].galaxies","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":11}}},"computed":true,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"property":{"type":"Identifier","name":"galaxies","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":21}}},"computed":false,"loc":{"start":{"line":1,"column":0},"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}}}}, {"source":"universe(42).galaxies","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"CallExpression","callee":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"arguments":[{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"property":{"type":"Identifier","name":"galaxies","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":21}}},"computed":false,"loc":{"start":{"line":1,"column":0},"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}}}}, {"source":"universe(42).galaxies(14, 3, 77).milkyway","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"CallExpression","callee":{"type":"MemberExpression","object":{"type":"CallExpression","callee":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"arguments":[{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":11}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":12}}},"property":{"type":"Identifier","name":"galaxies","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":21}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}},"arguments":[{"type":"Literal","value":14,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":24}}},{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":27}}},{"type":"Literal","value":77,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}}},"property":{"type":"Identifier","name":"milkyway","loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":41}}},"computed":false,"loc":{"start":{"line":1,"column":0},"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}}}}, {"source":"earth.asia.Indonesia.prepareForElection(2014)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"MemberExpression","object":{"type":"MemberExpression","object":{"type":"MemberExpression","object":{"type":"Identifier","name":"earth","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"property":{"type":"Identifier","name":"asia","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":10}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}},"property":{"type":"Identifier","name":"Indonesia","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":20}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}},"property":{"type":"Identifier","name":"prepareForElection","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":39}}},"computed":false,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}}},"arguments":[{"type":"Literal","value":2014,"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":44}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}}}}, {"source":"universe.if","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"if","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":11}}},"computed":false,"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}}}}, {"source":"universe.true","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"true","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"computed":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}}}}, {"source":"universe.false","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"false","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"computed":false,"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}}}}, {"source":"universe.null","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"MemberExpression","object":{"type":"Identifier","name":"universe","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"property":{"type":"Identifier","name":"null","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"computed":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}}}}, {"source":"x++","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":false,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"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}}}}, {"source":"x--","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":false,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"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}}}}, {"source":"eval++","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":false,"argument":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"eval--","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":false,"argument":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"arguments++","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":false,"argument":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"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}}}}, {"source":"arguments--","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":false,"argument":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"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}}}}, {"source":"++x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":2},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}}, {"source":"--x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":2},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}}}, {"source":"++eval","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":true,"argument":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"--eval","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":true,"argument":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"++arguments","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":true,"argument":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":2},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}}, {"source":"--arguments","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":true,"argument":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":2},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}}, {"source":"+x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UnaryExpression","operator":"+","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":1},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}}, {"source":"-x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UnaryExpression","operator":"-","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":1},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}}, {"source":"~x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UnaryExpression","operator":"~","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":1},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}}, {"source":"!x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UnaryExpression","operator":"!","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":1},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}}, {"source":"void x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UnaryExpression","operator":"void","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"delete x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UnaryExpression","operator":"delete","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}, {"source":"typeof x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"UnaryExpression","operator":"typeof","prefix":true,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}, {"source":"x * y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"*","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x / y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"/","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x % y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"%","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x + y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"+","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x - y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"-","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x << y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"<<","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x >> y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":">>","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x >>> y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":">>>","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":6},"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}}}}, {"source":"x < y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"<","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x > y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":">","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x <= y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"<=","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x >= y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":">=","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x in y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"in","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x instanceof y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"instanceof","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":13},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}}, {"source":"x < y < z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"<","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"<","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x == y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"==","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x != y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"!=","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x === y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"===","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":6},"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}}}}, {"source":"x !== y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"!==","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":6},"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}}}}, {"source":"x & y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"&","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x ^ y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"^","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x | y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"|","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"x + y + z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"+","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"+","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x - y + z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"-","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"+","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x + y - z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"+","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"-","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x - y - z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"-","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"-","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x + y * z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"+","right":{"type":"BinaryExpression","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"operator":"*","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x + y / z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"+","right":{"type":"BinaryExpression","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"operator":"/","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x - y % z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"-","right":{"type":"BinaryExpression","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"operator":"%","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x * y * z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"*","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"*","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x * y / z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"*","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"/","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x * y % z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"*","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"%","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x % y * z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"%","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"*","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x << y << z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"<<","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"operator":"<<","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":10},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}}, {"source":"x | y | z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"|","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"|","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x & y & z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"&","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"&","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x ^ y ^ z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"^","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"^","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x & y | z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"&","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"operator":"|","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x | y ^ z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"|","right":{"type":"BinaryExpression","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"operator":"^","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x | y & z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"|","right":{"type":"BinaryExpression","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"operator":"&","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"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}}}}, {"source":"x || y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"LogicalExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"||","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x && y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"LogicalExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"&&","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"x || y || z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"LogicalExpression","left":{"type":"LogicalExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"||","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"operator":"||","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":10},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}}, {"source":"x && y && z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"LogicalExpression","left":{"type":"LogicalExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"&&","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"operator":"&&","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":10},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}}, {"source":"x || y && z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"LogicalExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"||","right":{"type":"LogicalExpression","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"operator":"&&","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":5},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":11}}}}, {"source":"x || y ^ z","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"LogicalExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"||","right":{"type":"BinaryExpression","left":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"operator":"^","right":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"y ? 1 : 2","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ConditionalExpression","test":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"consequent":{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"alternate":{"type":"Literal","value":2,"loc":{"start":{"line":1,"column":8},"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}}}}, {"source":"x && y ? 1 : 2","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"ConditionalExpression","test":{"type":"LogicalExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"operator":"&&","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"consequent":{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"alternate":{"type":"Literal","value":2,"loc":{"start":{"line":1,"column":13},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}}, {"source":"x = 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":"Literal","value":42,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"eval = 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"right":{"type":"Literal","value":42,"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}}}}, {"source":"arguments = 42","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}},"right":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":12},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}}, {"source":"x *= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x /= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x %= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x += 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x -= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x <<= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}, {"source":"x >>= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}, {"source":"x >>>= 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":"Literal","value":42,"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}}}}, {"source":"x &= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x ^= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"x |= 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":"Literal","value":42,"loc":{"start":{"line":1,"column":5},"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}}}}, {"source":"{ foo }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":7}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":7}}}}, {"source":"{ doThis(); doThat(); }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"doThis","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":8}}},"arguments":[],"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":11}}},{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"doThat","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":18}}},"arguments":[],"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}}, {"source":"{}","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":2}}}}, {"source":"var x","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":null,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}}, {"source":"var x, y;","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":null,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"init":null,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}}}, {"source":"var x = 42","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":"Literal","value":42,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10}}}}, {"source":"var eval = 42, arguments = 42","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":8}}},"init":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":13}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":24}}},"init":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":29}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}}, {"source":"var x = 14, y = 3, z = 1977","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":"Literal","value":14,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"init":{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":17}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"init":{"type":"Literal","value":1977,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":27}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}}, {"source":"var implements, interface, package","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"implements","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":14}}},"init":null,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":14}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"interface","loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":25}}},"init":null,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":25}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"package","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":34}}},"init":null,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":34}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}}, {"source":"var private, protected, public, static","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"private","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"init":null,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"protected","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":22}}},"init":null,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":22}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"public","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":30}}},"init":null,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":30}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"static","loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":38}}},"init":null,"loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":38}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}}, {"source":";","expected":{"type":"Program","body":[{"type":"EmptyStatement","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}}, {"source":"x","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}}}, {"source":"x, y","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"SequenceExpression","expressions":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1}}},{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":3},"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}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}}}, {"source":"\\u0061","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":6}}}}, {"source":"a\\u0061","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"aa","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}}}}, {"source":"if (morning) goodMorning()","expected":{"type":"Program","body":[{"type":"IfStatement","test":{"type":"Identifier","name":"morning","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"consequent":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"goodMorning","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":24}}},"arguments":[],"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":26}}},"alternate":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":26}}}}, {"source":"if (morning) (function(){})","expected":{"type":"Program","body":[{"type":"IfStatement","test":{"type":"Identifier","name":"morning","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"consequent":{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":27}}},"alternate":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}}, {"source":"if (morning) var x = 0;","expected":{"type":"Program","body":[{"type":"IfStatement","test":{"type":"Identifier","name":"morning","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"consequent":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"init":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":22}}}],"kind":"var","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":23}}},"alternate":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}}, {"source":"if (morning) function a(){}","expected":{"type":"Program","body":[{"type":"IfStatement","test":{"type":"Identifier","name":"morning","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"consequent":{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":27}}},"alternate":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}}, {"source":"if (morning) goodMorning(); else goodDay()","expected":{"type":"Program","body":[{"type":"IfStatement","test":{"type":"Identifier","name":"morning","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":11}}},"consequent":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"goodMorning","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":24}}},"arguments":[],"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":27}}},"alternate":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"goodDay","loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":40}}},"arguments":[],"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":42}}},"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":42}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}}}}, {"source":"do keep(); while (true)","expected":{"type":"Program","body":[{"type":"DoWhileStatement","body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"keep","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":7}}},"arguments":[],"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":10}}},"test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":18},"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}}}}, {"source":"do keep(); while (true);","expected":{"type":"Program","body":[{"type":"DoWhileStatement","body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"keep","loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":7}}},"arguments":[],"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":10}}},"test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":22}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}}, {"source":"do { x++; y--; } while (x < 10)","expected":{"type":"Program","body":[{"type":"DoWhileStatement","body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":false,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6}}},"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":9}}},{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":false,"argument":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":16}}},"test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":25}}},"operator":"<","right":{"type":"Literal","value":10,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":24},"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}}}}, {"source":"{ do { } while (false);false }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"DoWhileStatement","body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":8}}},"test":{"type":"Literal","value":false,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":23}}},{"type":"ExpressionStatement","expression":{"type":"Literal","value":false,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}}}}, {"source":"while (true) doSomething()","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"doSomething","loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":24}}},"arguments":[],"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":13},"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}}}}, {"source":"while (x < 10) { x++; y--; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"operator":"<","right":{"type":"Literal","value":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":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":false,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":21}}},{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":false,"argument":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}},"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":15},"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}}}}, {"source":"for(;;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":null,"test":null,"update":null,"body":{"type":"EmptyStatement","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}}}}, {"source":"for(;;){}","expected":{"type":"Program","body":[{"type":"ForStatement","init":null,"test":null,"update":null,"body":{"type":"BlockStatement","body":[],"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}}}}, {"source":"for(x = 0;;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"right":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}}},"test":null,"update":null,"body":{"type":"EmptyStatement","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}}}}, {"source":"for(var x = 0;;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"init":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}}}],"kind":"var","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":13}}},"test":null,"update":null,"body":{"type":"EmptyStatement","loc":{"start":{"line":1,"column":16},"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}}}}, {"source":"for(var x = 0, y = 1;;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"init":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"init":{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}}}],"kind":"var","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":20}}},"test":null,"update":null,"body":{"type":"EmptyStatement","loc":{"start":{"line":1,"column":23},"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}}}}, {"source":"for(x = 0; x < 42;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"right":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}}},"test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"operator":"<","right":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":17}}},"update":null,"body":{"type":"EmptyStatement","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}}}}, {"source":"for(x = 0; x < 42; x++);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"right":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}}},"test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"operator":"<","right":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":17}}},"update":{"type":"UpdateExpression","operator":"++","prefix":false,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":22}}},"body":{"type":"EmptyStatement","loc":{"start":{"line":1,"column":23},"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}}}}, {"source":"for(x = 0; x < 42; x++) process(x);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},"right":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}}},"test":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},"operator":"<","right":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":17}}},"update":{"type":"UpdateExpression","operator":"++","prefix":false,"argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":22}}},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"process","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":31}}},"arguments":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":35}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":35}}}}, {"source":"for(x in list) process(x);","expected":{"type":"Program","body":[{"type":"ForInStatement","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}}}}, {"source":"for (var x in list) process(x);","expected":{"type":"Program","body":[{"type":"ForInStatement","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}}}}, {"source":"for (var x = 42 in list) process(x);","expected":{"type":"Program","body":[{"type":"ForInStatement","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,"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}}}}, {"source":"for (var i = function() { return 10 in [] } in list) process(x);","expected":{"type":"Program","body":[{"type":"ForInStatement","left":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"i","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},"init":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":{"type":"BinaryExpression","left":{"type":"Literal","value":10,"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":35}}},"operator":"in","right":{"type":"ArrayExpression","elements":[],"loc":{"start":{"line":1,"column":39},"end":{"line":1,"column":41}}},"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":41}}},"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":41}}}],"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":43}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":43}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":43}}}],"kind":"var","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":43}}},"right":{"type":"Identifier","name":"list","loc":{"start":{"line":1,"column":47},"end":{"line":1,"column":51}}},"body":{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"process","loc":{"start":{"line":1,"column":53},"end":{"line":1,"column":60}}},"arguments":[{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":61},"end":{"line":1,"column":62}}}],"loc":{"start":{"line":1,"column":53},"end":{"line":1,"column":63}}},"loc":{"start":{"line":1,"column":53},"end":{"line":1,"column":64}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":64}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":64}}}}, {"source":"while (true) { continue; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"ContinueStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":13},"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}}}}, {"source":"while (true) { continue }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"ContinueStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":13},"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}}}}, {"source":"done: while (true) { continue done }","expected":{"type":"Program","body":[{"type":"LabeledStatement","body":{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":17}}},"body":{"type":"BlockStatement","body":[{"type":"ContinueStatement","label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":36}}},"label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}}}, {"source":"done: while (true) { continue done; }","expected":{"type":"Program","body":[{"type":"LabeledStatement","body":{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":17}}},"body":{"type":"BlockStatement","body":[{"type":"ContinueStatement","label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":37}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":37}}},"label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}}}}, {"source":"while (true) { break }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":13},"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}}}}, {"source":"done: while (true) { break done }","expected":{"type":"Program","body":[{"type":"LabeledStatement","body":{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":17}}},"body":{"type":"BlockStatement","body":[{"type":"BreakStatement","label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":33}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":33}}},"label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}}}, {"source":"done: while (true) { break done; }","expected":{"type":"Program","body":[{"type":"LabeledStatement","body":{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":17}}},"body":{"type":"BlockStatement","body":[{"type":"BreakStatement","label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":34}}},"label":{"type":"Identifier","name":"done","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}}}}, {"source":"(function(){ return })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":null,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":19}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":21}}},"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}}}}, {"source":"(function(){ return; })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":null,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":22}}},"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}}}}, {"source":"(function(){ return x; })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":22}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}}, {"source":"(function(){ return x * y })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}}},"operator":"*","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}}, {"source":"with (x) foo = bar","expected":{"type":"Program","body":[{"type":"WithStatement","object":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"body":{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}}},"right":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":9},"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}}}}, {"source":"with (x) foo = bar;","expected":{"type":"Program","body":[{"type":"WithStatement","object":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"body":{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12}}},"right":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":18}}},"loc":{"start":{"line":1,"column":9},"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}}}}, {"source":"with (x) { foo = bar }","expected":{"type":"Program","body":[{"type":"WithStatement","object":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"foo","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":14}}},"right":{"type":"Identifier","name":"bar","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":9},"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}}}}, {"source":"switch (x) {}","expected":{"type":"Program","body":[{"type":"SwitchStatement","discriminant":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"cases":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":13}}}}, {"source":"switch (answer) { case 42: hi(); 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","consequent":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"hi","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"arguments":[],"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":32}}},{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":39}}}],"test":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":39}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}}}}, {"source":"switch (answer) { case 42: hi(); break; default: 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","consequent":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"hi","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"arguments":[],"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":32}}},{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":33},"end":{"line":1,"column":39}}}],"test":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":25}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":39}}},{"type":"SwitchCase","consequent":[{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":49},"end":{"line":1,"column":54}}}],"test":null,"loc":{"start":{"line":1,"column":40},"end":{"line":1,"column":54}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":56}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":56}}}}, {"source":"start: for (;;) break start","expected":{"type":"Program","body":[{"type":"LabeledStatement","body":{"type":"ForStatement","init":null,"test":null,"update":null,"body":{"type":"BreakStatement","label":{"type":"Identifier","name":"start","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":27}}},"label":{"type":"Identifier","name":"start","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}}}}, {"source":"start: while (true) break start","expected":{"type":"Program","body":[{"type":"LabeledStatement","body":{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":18}}},"body":{"type":"BreakStatement","label":{"type":"Identifier","name":"start","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":31}}},"label":{"type":"Identifier","name":"start","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":31}}}}, {"source":"throw x;","expected":{"type":"Program","body":[{"type":"ThrowStatement","argument":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"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}}}}, {"source":"throw x * y","expected":{"type":"Program","body":[{"type":"ThrowStatement","argument":{"type":"BinaryExpression","left":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"operator":"*","right":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11}}},"loc":{"start":{"line":1,"column":6},"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}}}}, {"source":"throw { message: \"Error\" }","expected":{"type":"Program","body":[{"type":"ThrowStatement","argument":{"type":"ObjectExpression","properties":[{"type":"Property","key":{"type":"Identifier","name":"message","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":15}}},"value":{"type":"Literal","value":"Error","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":24}}},"kind":"init"}],"loc":{"start":{"line":1,"column":6},"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}}}}, {"source":"try { } catch (e) { }","expected":{"type":"Program","body":[{"type":"TryStatement","block":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"handler":{"type":"CatchClause","param":{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"guard":null,"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":21}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":21}}},"finalizer":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}}}}, {"source":"try { } catch (eval) { }","expected":{"type":"Program","body":[{"type":"TryStatement","block":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"handler":{"type":"CatchClause","param":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":19}}},"guard":null,"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":24}}},"finalizer":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}}}}, {"source":"try { } catch (arguments) { }","expected":{"type":"Program","body":[{"type":"TryStatement","block":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"handler":{"type":"CatchClause","param":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":24}}},"guard":null,"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":29}}},"finalizer":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}}, {"source":"try { } catch (e) { say(e) }","expected":{"type":"Program","body":[{"type":"TryStatement","block":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"handler":{"type":"CatchClause","param":{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"guard":null,"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"say","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":23}}},"arguments":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":26}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":26}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":28}}},"finalizer":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}}}}, {"source":"try { } finally { cleanup(stuff) }","expected":{"type":"Program","body":[{"type":"TryStatement","block":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":7}}},"handler":null,"finalizer":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"cleanup","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":25}}},"arguments":[{"type":"Identifier","name":"stuff","loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":32}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":16},"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}}}}, {"source":"try { doThat(); } catch (e) { say(e) }","expected":{"type":"Program","body":[{"type":"TryStatement","block":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"doThat","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"arguments":[],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":17}}},"handler":{"type":"CatchClause","param":{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":26}}},"guard":null,"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"say","loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":33}}},"arguments":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":36}}}],"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":38}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":38}}},"finalizer":null,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}}, {"source":"try { doThat(); } catch (e) { say(e) } finally { cleanup(stuff) }","expected":{"type":"Program","body":[{"type":"TryStatement","block":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"doThat","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},"arguments":[],"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":14}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":15}}}],"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":17}}},"handler":{"type":"CatchClause","param":{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":26}}},"guard":null,"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"say","loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":33}}},"arguments":[{"type":"Identifier","name":"e","loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":36}}}],"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":38}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":38}}},"finalizer":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"cleanup","loc":{"start":{"line":1,"column":49},"end":{"line":1,"column":56}}},"arguments":[{"type":"Identifier","name":"stuff","loc":{"start":{"line":1,"column":57},"end":{"line":1,"column":62}}}],"loc":{"start":{"line":1,"column":49},"end":{"line":1,"column":63}}},"loc":{"start":{"line":1,"column":49},"end":{"line":1,"column":63}}}],"loc":{"start":{"line":1,"column":47},"end":{"line":1,"column":65}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":65}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":65}}}}, {"source":"debugger;","expected":{"type":"Program","body":[{"type":"DebuggerStatement","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":9}}}}, {"source":"function hello() { sayHi(); }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"hello","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"sayHi","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":24}}},"arguments":[],"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}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}}, {"source":"function eval() { }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":16},"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}}}}, {"source":"function arguments() { }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":18}}},"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":21},"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}}}}, {"source":"function test(t, t) { }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"params":[{"type":"Identifier","name":"t","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},{"type":"Identifier","name":"t","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":23}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}}}}, {"source":"(function test(t, t) { })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":{"type":"Identifier","name":"test","loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":14}}},"params":[{"type":"Identifier","name":"t","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},{"type":"Identifier","name":"t","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":24}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":24}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}}}}, {"source":"function eval() { function inner() { \"use strict\" } }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}}},"params":[],"body":{"type":"BlockStatement","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"inner","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":32}}},"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"use strict","loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":49}}},"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":49}}}],"loc":{"start":{"line":1,"column":35},"end":{"line":1,"column":51}}},"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":51}}}],"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":53}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":53}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":53}}}}, {"source":"function hello(a) { sayHi(); }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"hello","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"sayHi","loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":25}}},"arguments":[],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":28}}}],"loc":{"start":{"line":1,"column":18},"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}}}}, {"source":"function hello(a, b) { sayHi(); }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"hello","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},{"type":"Identifier","name":"b","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"sayHi","loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":28}}},"arguments":[],"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":30}}},"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":31}}}],"loc":{"start":{"line":1,"column":21},"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}}}}, {"source":"function hello(...rest) { }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"hello","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"params":[{"type":"RestElement","argument":{"type":"Identifier","name":"rest","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":22}}}}],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":24},"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,"locations":true}}, {"source":"function hello(a, ...rest) { }","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"hello","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}}},"params":[{"type":"Identifier","name":"a","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},{"type":"RestElement","argument":{"type":"Identifier","name":"rest","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":25}}}}],"body":{"type":"BlockStatement","body":[],"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}}},"options":{"ecmaVersion":6,"locations":true}}, {"source":"var hi = function() { sayHi() };","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"hi","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"init":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"sayHi","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":27}}},"arguments":[],"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":31}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}}}}, {"source":"var hi = function (...r) { sayHi() };","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"hi","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"init":{"type":"FunctionExpression","id":null,"params":[{"type":"RestElement","argument":{"type":"Identifier","name":"r","loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23}}}}],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"sayHi","loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":32}}},"arguments":[],"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":34}}},"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":34}}}],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":36}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":36}}}],"kind":"var","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,"locations":true}}, {"source":"var hi = function eval() { };","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"hi","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"init":{"type":"FunctionExpression","id":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":22}}},"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":28}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":28}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}}}}, {"source":"var hi = function arguments() { };","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"hi","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":6}}},"init":{"type":"FunctionExpression","id":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":27}}},"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":33}}},"loc":{"start":{"line":1,"column":9},"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}}}}, {"source":"var hello = function hi() { sayHi() };","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"hello","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9}}},"init":{"type":"FunctionExpression","id":{"type":"Identifier","name":"hi","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":23}}},"params":[],"body":{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"Identifier","name":"sayHi","loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":33}}},"arguments":[],"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":35}}},"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":35}}}],"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":37}}},"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":37}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":37}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}}}}, {"source":"(function(){})","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[],"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":14}}}}, {"source":"{ x\n++y }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3}}},{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"++","prefix":true,"argument":{"type":"Identifier","name":"y","loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":3}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":3}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}}, {"source":"{ x\n--y }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3}}},{"type":"ExpressionStatement","expression":{"type":"UpdateExpression","operator":"--","prefix":true,"argument":{"type":"Identifier","name":"y","loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":3}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":3}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":3}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}}, {"source":"var x /* comment */;","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":null,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}}],"kind":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}}}}, {"source":"{ var x = 14, y = 3\nz; }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"init":{"type":"Literal","value":14,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"init":{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":19}}}],"kind":"var","loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":19}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"z","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":1}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":4}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":4}}}}, {"source":"while (true) { continue\nthere; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"ContinueStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":23}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"there","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":2,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}}, {"source":"while (true) { continue // Comment\nthere; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"ContinueStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":23}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"there","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":2,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}}, {"source":"while (true) { continue /* Multiline\nComment */there; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"ContinueStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":23}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"there","loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":15}}},"loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":16}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":2,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}}}}, {"source":"while (true) { break\nthere; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"there","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":2,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}}, {"source":"while (true) { break // Comment\nthere; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"there","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":2,"column":8}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}}, {"source":"while (true) { break /* Multiline\nComment */there; }","expected":{"type":"Program","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":11}}},"body":{"type":"BlockStatement","body":[{"type":"BreakStatement","label":null,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"there","loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":15}}},"loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":16}}}],"loc":{"start":{"line":1,"column":13},"end":{"line":2,"column":18}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}}}}, {"source":"(function(){ return\nx; })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":null,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":19}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"x","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":1}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":2,"column":4}}},"loc":{"start":{"line":1,"column":1},"end":{"line":2,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}}, {"source":"(function(){ return // Comment\nx; })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":null,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":19}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"x","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":1}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":2}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":2,"column":4}}},"loc":{"start":{"line":1,"column":1},"end":{"line":2,"column":4}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":5}}}}, {"source":"(function(){ return/* Multiline\nComment */x; })","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[{"type":"ReturnStatement","argument":null,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":19}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"x","loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":11}}},"loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":12}}}],"loc":{"start":{"line":1,"column":11},"end":{"line":2,"column":14}}},"loc":{"start":{"line":1,"column":1},"end":{"line":2,"column":14}}},"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":15}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":15}}}}, {"source":"{ throw error\nerror; }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"ThrowStatement","argument":{"type":"Identifier","name":"error","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":13}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"error","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}}, {"source":"{ throw error// Comment\nerror; }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"ThrowStatement","argument":{"type":"Identifier","name":"error","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":13}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"error","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}},"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":6}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":8}}}}, {"source":"{ throw error/* Multiline\nComment */error; }","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[{"type":"ThrowStatement","argument":{"type":"Identifier","name":"error","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":13}}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"error","loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":15}}},"loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":16}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}}}}, {"source":"","expected":{"type":"Program","body":[],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":0}}}}, {"source":"foo: if (true) break foo;","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}},"body":[{"type":"LabeledStatement","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":25}},"body":{"type":"IfStatement","loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":25}},"test":{"type":"Literal","loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13}},"value":true},"consequent":{"type":"BreakStatement","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":25}},"label":{"type":"Identifier","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":24}},"name":"foo"}},"alternate":null},"label":{"type":"Identifier","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"name":"foo"}}]}}, {"source":"(function () {\n 'use strict';\n '\u0000';\n}())","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":4}},"body":[{"type":"ExpressionStatement","loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":4}},"expression":{"type":"CallExpression","loc":{"start":{"line":1,"column":1},"end":{"line":4,"column":3}},"callee":{"type":"FunctionExpression","loc":{"start":{"line":1,"column":1},"end":{"line":4,"column":1}},"id":null,"params":[],"body":{"type":"BlockStatement","loc":{"start":{"line":1,"column":13},"end":{"line":4,"column":1}},"body":[{"type":"ExpressionStatement","loc":{"start":{"line":2,"column":1},"end":{"line":2,"column":14}},"expression":{"type":"Literal","loc":{"start":{"line":2,"column":1},"end":{"line":2,"column":13}},"value":"use strict"}},{"type":"ExpressionStatement","loc":{"start":{"line":3,"column":1},"end":{"line":3,"column":5}},"expression":{"type":"Literal","loc":{"start":{"line":3,"column":1},"end":{"line":3,"column":4}},"value":"\u0000"}}]}},"arguments":[]}}]}}, {"source":"123..toString(10)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"MemberExpression","object":{"type":"Literal","value":123},"property":{"type":"Identifier","name":"toString"},"computed":false},"arguments":[{"type":"Literal","value":10}]}}]}}, {"source":"123.+2","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"Literal","value":123},"operator":"+","right":{"type":"Literal","value":2}}}]}}, {"source":"a
b","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"a"}},{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"b"}}]}}, {"source":"'a\\u0026b'","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"a&b"}}]}}, {"source":"foo: 10; foo: 20;","expected":{"type":"Program","body":[{"type":"LabeledStatement","body":{"type":"ExpressionStatement","expression":{"type":"Literal","value":10,"raw":"10"}},"label":{"type":"Identifier","name":"foo"}},{"type":"LabeledStatement","body":{"type":"ExpressionStatement","expression":{"type":"Literal","value":20,"raw":"20"}},"label":{"type":"Identifier","name":"foo"}}]}}, {"source":"if(1)/ foo/","expected":{"type":"Program","body":[{"type":"IfStatement","test":{"type":"Literal","value":1,"raw":"1"},"consequent":{"type":"ExpressionStatement","expression":{"type":"Literal","raw":"/ foo/"}},"alternate":null}]}}, {"source":"price_9̶9̶_89","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Identifier","name":"price_9̶9̶_89"}}]}}, {"source":"var a = 1;","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10},"source":"test.js"},"body":[{"type":"VariableDeclaration","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":10},"source":"test.js"},"declarations":[{"type":"VariableDeclarator","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":9},"source":"test.js"},"id":{"type":"Identifier","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5},"source":"test.js"},"name":"a"},"init":{"type":"Literal","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9},"source":"test.js"},"value":1,"raw":"1"}}],"kind":"var"}]},"options":{"locations":true,"sourceFile":"test.js"}}, {"source":"a.in / b","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"MemberExpression","object":{"type":"Identifier","name":"a"},"property":{"type":"Identifier","name":"in"},"computed":false},"operator":"/","right":{"type":"Identifier","name":"b"}}}]}}, {"source":"return {} / 2","expected":{},"options":{"allowReturnOutsideFunction":true}}, {"source":"return\n{}\n/foo/","expected":{},"options":{"allowReturnOutsideFunction":true}}, {"source":"+{} / 2","expected":{}}, {"source":"{}\n/foo/","expected":{}}, {"source":"x++\n{}\n/foo/","expected":{}}, {"source":"{{}\n/foo/}","expected":{}}, {"source":"while (1) /foo/","expected":{}}, {"source":"(1) / 2","expected":{}}, {"source":"({a: [1]}+[]) / 2","expected":{}}, {"source":"{[1]}\n/foo/","expected":{}}, {"source":"switch(a) { case 1: {}\n/foo/ }","expected":{}}, {"source":"({1: {} / 2})","expected":{}}, {"source":"+x++ / 2","expected":{}}, {"source":"foo.in\n{}\n/foo/","expected":{}}, {"source":"{}/=/","expected":{"type":"Program","body":[{"type":"BlockStatement","body":[]},{"type":"ExpressionStatement","expression":{"type":"Literal","raw":"/=/"}}]}}, {"source":"foo 10;\n --> nothing","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"AssignmentExpression","operator":"=","left":{"type":"Identifier","name":"x"},"right":{"type":"BinaryExpression","left":{"type":"UpdateExpression","operator":"--","prefix":false,"argument":{"type":"Identifier","name":"y"}},"operator":">","right":{"type":"Literal","value":10}}}}]}}, {"source":"'use strict';\nobject.static();","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"Literal","value":"use strict","raw":"'use strict'"}},{"type":"ExpressionStatement","expression":{"type":"CallExpression","callee":{"type":"MemberExpression","object":{"type":"Identifier","name":"object"},"property":{"type":"Identifier","name":"static"},"computed":false},"arguments":[]}}]}}, {"source":"{","error":"Unexpected token (1:1)"}, {"source":"}","error":"Unexpected token (1:0)"}, {"source":"3ea","error":"Invalid number (1:0)"}, {"source":"3in []","error":"Identifier directly after number (1:1)"}, {"source":"3e","error":"Invalid number (1:0)"}, {"source":"3e+","error":"Invalid number (1:0)"}, {"source":"3e-","error":"Invalid number (1:0)"}, {"source":"3x","error":"Identifier directly after number (1:1)"}, {"source":"3x0","error":"Identifier directly after number (1:1)"}, {"source":"0x","error":"Expected number in radix 16 (1:2)"}, {"source":"09","error":"Invalid number (1:0)"}, {"source":"018","error":"Invalid number (1:0)"}, {"source":"01a","error":"Identifier directly after number (1:2)"}, {"source":"3in[]","error":"Identifier directly after number (1:1)"}, {"source":"0x3in[]","error":"Identifier directly after number (1:3)"}, {"source":"\"Hello\nWorld\"","error":"Unterminated string constant (1:0)"}, {"source":"x\\","error":"Expecting Unicode escape sequence \\uXXXX (1:2)"}, {"source":"x\\u005c","error":"Invalid Unicode escape (1:1)"}, {"source":"x\\u002a","error":"Invalid Unicode escape (1:1)"}, {"source":"/","error":"Unterminated regular expression (1:1)"}, {"source":"/test","error":"Unterminated regular expression (1:1)"}, {"source":"var x = /[a-z]/\\ux","error":"Bad character escape sequence (1:8)"}, {"source":"3 = 4","error":"Assigning to rvalue (1:0)"}, {"source":"func() = 4","error":"Assigning to rvalue (1:0)"}, {"source":"(1 + 1) = 10","error":"Assigning to rvalue (1:1)"}, {"source":"1++","error":"Assigning to rvalue (1:0)"}, {"source":"1--","error":"Assigning to rvalue (1:0)"}, {"source":"++1","error":"Assigning to rvalue (1:2)"}, {"source":"--1","error":"Assigning to rvalue (1:2)"}, {"source":"for((1 + 1) in list) process(x);","error":"Assigning to rvalue (1:5)"}, {"source":"[","error":"Unexpected token (1:1)"}, {"source":"[,","error":"Unexpected token (1:2)"}, {"source":"1 + {","error":"Unexpected token (1:5)"}, {"source":"1 + { t:t ","error":"Unexpected token (1:10)"}, {"source":"1 + { t:t,","error":"Unexpected token (1:10)"}, {"source":"var x = /\n/","error":"Unterminated regular expression (1:9)"}, {"source":"var x = \"\n","error":"Unterminated string constant (1:8)"}, {"source":"var if = 42","error":"Unexpected token (1:4)"}, {"source":"i + 2 = 42","error":"Assigning to rvalue (1:0)"}, {"source":"+i = 42","error":"Assigning to rvalue (1:0)"}, {"source":"1 + (","error":"Unexpected token (1:5)"}, {"source":"\n\n\n{","error":"Unexpected token (4:1)"}, {"source":"\n/* Some multiline\ncomment */\n)","error":"Unexpected token (4:0)"}, {"source":"{ set 1 }","error":"Unexpected token (1:6)"}, {"source":"{ get 2 }","error":"Unexpected token (1:6)"}, {"source":"({ set: s(if) { } })","error":"Unexpected token (1:10)"}, {"source":"({ set s(.) { } })","error":"Unexpected token (1:9)"}, {"source":"({ set: s() { } })","error":"Unexpected token (1:12)"}, {"source":"({ set: s(a, b) { } })","error":"Unexpected token (1:16)"}, {"source":"({ get: g(d) { } })","error":"Unexpected token (1:13)"}, {"source":"({ get i() { }, i: 42 })","error":"Redefinition of property (1:16)"}, {"source":"({ i: 42, get i() { } })","error":"Redefinition of property (1:14)"}, {"source":"({ set i(x) { }, i: 42 })","error":"Redefinition of property (1:17)"}, {"source":"({ i: 42, set i(x) { } })","error":"Redefinition of property (1:14)"}, {"source":"({ get i() { }, get i() { } })","error":"Redefinition of property (1:20)"}, {"source":"({ set i(x) { }, set i(x) { } })","error":"Redefinition of property (1:21)"}, {"source":"function t(...) { }","error":"Unexpected token (1:11)"}, {"source":"function t(...) { }","error":"Unexpected token (1:14)","options":{"ecmaVersion":6}}, {"source":"function t(...rest, b) { }","error":"Unexpected token (1:18)","options":{"ecmaVersion":6}}, {"source":"function t(if) { }","error":"Unexpected token (1:11)"}, {"source":"function t(true) { }","error":"Unexpected token (1:11)"}, {"source":"function t(false) { }","error":"Unexpected token (1:11)"}, {"source":"function t(null) { }","error":"Unexpected token (1:11)"}, {"source":"function null() { }","error":"Unexpected token (1:9)"}, {"source":"function true() { }","error":"Unexpected token (1:9)"}, {"source":"function false() { }","error":"Unexpected token (1:9)"}, {"source":"function if() { }","error":"Unexpected token (1:9)"}, {"source":"a b;","error":"Unexpected token (1:2)"}, {"source":"if.a;","error":"Unexpected token (1:2)"}, {"source":"a if;","error":"Unexpected token (1:2)"}, {"source":"a class;","error":"Unexpected token (1:2)"}, {"source":"break\n","error":"Unsyntactic break (1:0)"}, {"source":"break 1;","error":"Unexpected token (1:6)"}, {"source":"continue\n","error":"Unsyntactic continue (1:0)"}, {"source":"continue 2;","error":"Unexpected token (1:9)"}, {"source":"throw","error":"Unexpected token (1:5)"}, {"source":"throw;","error":"Unexpected token (1:5)"}, {"source":"for (var i, i2 in {});","error":"Unexpected token (1:15)"}, {"source":"for ((i in {}));","error":"Unexpected token (1:14)"}, {"source":"for (i + 1 in {});","error":"Assigning to rvalue (1:5)"}, {"source":"for (+i in {});","error":"Assigning to rvalue (1:5)"}, {"source":"if(false)","error":"Unexpected token (1:9)"}, {"source":"if(false) doThis(); else","error":"Unexpected token (1:24)"}, {"source":"do","error":"Unexpected token (1:2)"}, {"source":"while(false)","error":"Unexpected token (1:12)"}, {"source":"for(;;)","error":"Unexpected token (1:7)"}, {"source":"with(x)","error":"Unexpected token (1:7)"}, {"source":"try { }","error":"Missing catch or finally clause (1:0)"}, {"source":"‿ = 10","error":"Unexpected character '‿' (1:0)"}, {"source":"if(true) let a = 1;","error":"Unexpected token (1:13)"}, {"source":"switch (c) { default: default: }","error":"Multiple default clauses (1:22)"}, {"source":"new X().\"s\"","error":"Unexpected token (1:8)"}, {"source":"/*","error":"Unterminated comment (1:0)"}, {"source":"/*\n\n\n","error":"Unterminated comment (1:0)"}, {"source":"/**","error":"Unterminated comment (1:0)"}, {"source":"/*\n\n*","error":"Unterminated comment (1:0)"}, {"source":"/*hello","error":"Unterminated comment (1:0)"}, {"source":"/*hello *","error":"Unterminated comment (1:0)"}, {"source":"\n]","error":"Unexpected token (2:0)"}, {"source":"\r]","error":"Unexpected token (2:0)"}, {"source":"\r\n]","error":"Unexpected token (2:0)"}, {"source":"\n\r]","error":"Unexpected token (3:0)"}, {"source":"//\r\n]","error":"Unexpected token (2:0)"}, {"source":"//\n\r]","error":"Unexpected token (3:0)"}, {"source":"/a\\\n/","error":"Unterminated regular expression (1:1)"}, {"source":"//\r \n]","error":"Unexpected token (3:0)"}, {"source":"/*\r\n*/]","error":"Unexpected token (2:2)"}, {"source":"/*\n\r*/]","error":"Unexpected token (3:2)"}, {"source":"/*\r \n*/]","error":"Unexpected token (3:2)"}, {"source":"\\\\","error":"Expecting Unicode escape sequence \\uXXXX (1:1)"}, {"source":"\\u005c","error":"Invalid Unicode escape (1:0)"}, {"source":"\\x","error":"Expecting Unicode escape sequence \\uXXXX (1:1)"}, {"source":"\\u0000","error":"Invalid Unicode escape (1:0)"}, {"source":"‌ = []","error":"Unexpected character '‌' (1:0)"}, {"source":"‍ = []","error":"Unexpected character '‍' (1:0)"}, {"source":"\"\\","error":"Unterminated string constant (1:0)"}, {"source":"\"\\u","error":"Bad character escape sequence (1:0)"}, {"source":"return","error":"'return' outside of function (1:0)"}, {"source":"break","error":"Unsyntactic break (1:0)"}, {"source":"continue","error":"Unsyntactic continue (1:0)"}, {"source":"switch (x) { default: continue; }","error":"Unsyntactic continue (1:22)"}, {"source":"do { x } *","error":"Unexpected token (1:9)"}, {"source":"while (true) { break x; }","error":"Unsyntactic break (1:15)"}, {"source":"while (true) { continue x; }","error":"Unsyntactic continue (1:15)"}, {"source":"x: while (true) { (function () { break x; }); }","error":"Unsyntactic break (1:33)"}, {"source":"x: while (true) { (function () { continue x; }); }","error":"Unsyntactic continue (1:33)"}, {"source":"x: while (true) { (function () { break; }); }","error":"Unsyntactic break (1:33)"}, {"source":"x: while (true) { (function () { continue; }); }","error":"Unsyntactic continue (1:33)"}, {"source":"x: while (true) { x: while (true) { } }","error":"Label 'x' is already declared (1:18)"}, {"source":"(function () { 'use strict'; delete i; }())","error":"Deleting local variable in strict mode (1:29)"}, {"source":"(function () { 'use strict'; with (i); }())","error":"'with' in strict mode (1:29)"}, {"source":"function hello() {'use strict'; ({ i: 42, i: 42 }) }","error":"Redefinition of property (1:42)"}, {"source":"function hello() {'use strict'; ({ hasOwnProperty: 42, hasOwnProperty: 42 }) }","error":"Redefinition of property (1:55)"}, {"source":"function hello() {'use strict'; var eval = 10; }","error":"Binding eval in strict mode (1:36)"}, {"source":"function hello() {'use strict'; var arguments = 10; }","error":"Binding arguments in strict mode (1:36)"}, {"source":"function hello() {'use strict'; try { } catch (eval) { } }","error":"Binding eval in strict mode (1:47)"}, {"source":"function hello() {'use strict'; try { } catch (arguments) { } }","error":"Binding arguments in strict mode (1:47)"}, {"source":"function hello() {'use strict'; eval = 10; }","error":"Assigning to eval in strict mode (1:32)"}, {"source":"function hello() {'use strict'; arguments = 10; }","error":"Assigning to arguments in strict mode (1:32)"}, {"source":"function hello() {'use strict'; ++eval; }","error":"Assigning to eval in strict mode (1:34)"}, {"source":"function hello() {'use strict'; --eval; }","error":"Assigning to eval in strict mode (1:34)"}, {"source":"function hello() {'use strict'; ++arguments; }","error":"Assigning to arguments in strict mode (1:34)"}, {"source":"function hello() {'use strict'; --arguments; }","error":"Assigning to arguments in strict mode (1:34)"}, {"source":"function hello() {'use strict'; eval++; }","error":"Assigning to eval in strict mode (1:32)"}, {"source":"function hello() {'use strict'; eval--; }","error":"Assigning to eval in strict mode (1:32)"}, {"source":"function hello() {'use strict'; arguments++; }","error":"Assigning to arguments in strict mode (1:32)"}, {"source":"function hello() {'use strict'; arguments--; }","error":"Assigning to arguments in strict mode (1:32)"}, {"source":"function hello() {'use strict'; function eval() { } }","error":"Binding eval in strict mode (1:41)"}, {"source":"function hello() {'use strict'; function arguments() { } }","error":"Binding arguments in strict mode (1:41)"}, {"source":"function eval() {'use strict'; }","error":"Binding eval in strict mode (1:9)"}, {"source":"function arguments() {'use strict'; }","error":"Binding arguments in strict mode (1:9)"}, {"source":"function hello() {'use strict'; (function eval() { }()) }","error":"Binding eval in strict mode (1:42)"}, {"source":"function hello() {'use strict'; (function arguments() { }()) }","error":"Binding arguments in strict mode (1:42)"}, {"source":"(function eval() {'use strict'; })()","error":"Binding eval in strict mode (1:10)"}, {"source":"(function arguments() {'use strict'; })()","error":"Binding arguments in strict mode (1:10)"}, {"source":"function hello() {'use strict'; ({ s: function eval() { } }); }","error":"Binding eval in strict mode (1:47)"}, {"source":"(function package() {'use strict'; })()","error":"Binding package in strict mode (1:10)"}, {"source":"function hello() {'use strict'; ({ i: 10, set s(eval) { } }); }","error":"Binding eval in strict mode (1:48)"}, {"source":"function hello() {'use strict'; ({ set s(eval) { } }); }","error":"Binding eval in strict mode (1:41)"}, {"source":"function hello() {'use strict'; ({ s: function s(eval) { } }); }","error":"Binding eval in strict mode (1:49)"}, {"source":"function hello(eval) {'use strict';}","error":"Binding eval in strict mode (1:15)"}, {"source":"function hello(arguments) {'use strict';}","error":"Binding arguments in strict mode (1:15)"}, {"source":"function hello() { 'use strict'; function inner(eval) {} }","error":"Binding eval in strict mode (1:48)"}, {"source":"function hello() { 'use strict'; function inner(arguments) {} }","error":"Binding arguments in strict mode (1:48)"}, {"source":"function hello() { 'use strict'; \"\\1\"; }","error":"Octal literal in strict mode (1:34)"}, {"source":"function hello() { 'use strict'; 021; }","error":"Invalid number (1:33)"}, {"source":"function hello() { 'use strict'; ({ \"\\1\": 42 }); }","error":"Octal literal in strict mode (1:37)"}, {"source":"function hello() { 'use strict'; ({ 021: 42 }); }","error":"Invalid number (1:36)"}, {"source":"function hello() { \"use strict\"; function inner() { \"octal directive\\1\"; } }","error":"Octal literal in strict mode (1:68)"}, {"source":"function hello() { \"use strict\"; var implements; }","error":"The keyword 'implements' is reserved (1:37)"}, {"source":"function hello() { \"use strict\"; var interface; }","error":"The keyword 'interface' is reserved (1:37)"}, {"source":"function hello() { \"use strict\"; var package; }","error":"The keyword 'package' is reserved (1:37)"}, {"source":"function hello() { \"use strict\"; var private; }","error":"The keyword 'private' is reserved (1:37)"}, {"source":"function hello() { \"use strict\"; var protected; }","error":"The keyword 'protected' is reserved (1:37)"}, {"source":"function hello() { \"use strict\"; var public; }","error":"The keyword 'public' is reserved (1:37)"}, {"source":"function hello() { \"use strict\"; var static; }","error":"The keyword 'static' is reserved (1:37)"}, {"source":"function hello(static) { \"use strict\"; }","error":"Binding static in strict mode (1:15)"}, {"source":"function static() { \"use strict\"; }","error":"Binding static in strict mode (1:9)"}, {"source":"\"use strict\"; function static() { }","error":"The keyword 'static' is reserved (1:23)"}, {"source":"function a(t, t) { \"use strict\"; }","error":"Argument name clash in strict mode (1:14)"}, {"source":"function a(eval) { \"use strict\"; }","error":"Binding eval in strict mode (1:11)"}, {"source":"function a(package) { \"use strict\"; }","error":"Binding package in strict mode (1:11)"}, {"source":"function a() { \"use strict\"; function b(t, t) { }; }","error":"Argument name clash in strict mode (1:43)"}, {"source":"(function a(t, t) { \"use strict\"; })","error":"Argument name clash in strict mode (1:15)"}, {"source":"function a() { \"use strict\"; (function b(t, t) { }); }","error":"Argument name clash in strict mode (1:44)"}, {"source":"(function a(eval) { \"use strict\"; })","error":"Binding eval in strict mode (1:12)"}, {"source":"(function a(package) { \"use strict\"; })","error":"Binding package in strict mode (1:12)"}, {"source":"\"use strict\";function foo(){\"use strict\";}function bar(){var v = 015}","error":"Invalid number (1:65)"}, {"source":"var this = 10;","error":"Unexpected token (1:4)"}, {"source":"throw\n10;","error":"Illegal newline after throw (1:5)"}, {"source":"const a;","error":"Unexpected token (1:6)"}, {"source":"let x;","error":"Unexpected token (1:4)"}, {"source":"const a = 1;","error":"Unexpected token (1:6)"}, {"source":"let a = 1;","error":"Unexpected token (1:4)"}, {"source":"for(const x = 0;;);","error":"Unexpected token (1:10)"}, {"source":"for(let x = 0;;);","error":"Unexpected token (1:8)"}, {"source":"let++","expected":{"type":"Program","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}},"body":[{"type":"ExpressionStatement","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}},"expression":{"type":"UpdateExpression","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}},"operator":"++","prefix":false,"argument":{"type":"Identifier","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"name":"let"}}}]}}, {"source":"let x","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":null,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}}],"kind":"let","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}}],"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}},"options":{"ecmaVersion":6,"locations":true}}, {"source":"let x, y;","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":null,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}},"init":null,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":8}}}],"kind":"let","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,"locations":true}}, {"source":"let x = 42","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":"Literal","value":42,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}}],"kind":"let","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,"locations":true}}, {"source":"let eval = 42, arguments = 42","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":8}}},"init":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":13}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":24}}},"init":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":29}}}],"kind":"let","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,"locations":true}}, {"source":"let x = 14, y = 3, z = 1977","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":"Literal","value":14,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":10}}},"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":10}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"init":{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17}}},"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":17}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"init":{"type":"Literal","value":1977,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":27}}},"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":27}}}],"kind":"let","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,"locations":true}}, {"source":"for(let x = 0;;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"init":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}}}],"kind":"let","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":13}}},"test":null,"update":null,"body":{"type":"EmptyStatement","loc":{"start":{"line":1,"column":16},"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,"locations":true}}, {"source":"for(let x = 0, y = 1;;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},"init":{"type":"Literal","value":0,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":13}}},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":13}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16}}},"init":{"type":"Literal","value":1,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}}},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}}}],"kind":"let","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":20}}},"test":null,"update":null,"body":{"type":"EmptyStatement","loc":{"start":{"line":1,"column":23},"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,"locations":true}}, {"source":"for (let x in list) process(x);","expected":{"type":"Program","body":[{"type":"ForInStatement","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,"locations":true}}, {"source":"const x = 42","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"init":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}}],"kind":"const","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,"locations":true}}, {"source":"const eval = 42, arguments = 42","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"eval","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":10}}},"init":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":15}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":15}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"arguments","loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":26}}},"init":{"type":"Literal","value":42,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":31}}},"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":31}}}],"kind":"const","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,"locations":true}}, {"source":"const x = 14, y = 3, z = 1977","expected":{"type":"Program","body":[{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},"init":{"type":"Literal","value":14,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":12}}},"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":12}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"y","loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},"init":{"type":"Literal","value":3,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":19}}},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":19}}},{"type":"VariableDeclarator","id":{"type":"Identifier","name":"z","loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":22}}},"init":{"type":"Literal","value":1977,"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":29}}},"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":29}}}],"kind":"const","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,"locations":true}}, {"source":"const a;","error":"Unexpected token (1:7)","options":{"ecmaVersion":6}}, {"source":"for(const x = 0;;);","expected":{"type":"Program","body":[{"type":"ForStatement","init":{"type":"VariableDeclaration","declarations":[{"type":"VariableDeclarator","id":{"type":"Identifier","name":"x","range":[10,11]},"init":{"type":"Literal","value":0,"range":[14,15]},"range":[10,15]}],"kind":"const","range":[4,15]},"test":null,"update":null,"body":{"type":"EmptyStatement","range":[18,19]},"range":[0,19]}],"range":[0,19]},"options":{"ecmaVersion":6,"ranges":true}}, {"source":"for(x of a);","error":"Unexpected token (1:6)"}, {"source":"for(var x of a);","error":"Unexpected token (1:10)"}, {"source":"function TestComments() {\n // Bear class\n function Bear(x,y,z) {\n this.position = [x||0,y||0,z||0]\n }\n\n Bear.prototype.roar = function(message) {\n return 'RAWWW: ' + message; // Whatever\n };\n\n function Cat() {\n /* 1\n 2\n 3*/\n }\n\n Cat.prototype.roar = function(message) {\n return 'MEOOWW: ' + /*stuff*/ message;\n };\n}","expected":{},"options":{"onComment":[{"type":"Line","value":" Bear class"},{"type":"Line","value":" Whatever"},{"type":"Block","value":" 1\n 2\n 3"},{"type":"Block","value":"stuff"}]}}, {"source":" HTML comment","expected":{},"options":{"locations":true,"onComment":[{"type":"Line","value":" HTML comment","loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":16}}}]}}, {"source":"var x = (1 + 2)","expected":{},"options":{"locations":true,"loose":false,"onToken":[{"type":{"label":"var","keyword":"var","beforeExpr":false,"startsExpr":false,"isLoop":false,"isAssign":false,"prefix":false,"postfix":false,"binop":null,"updateContext":null},"value":"var","loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}}},{"type":{"label":"name","beforeExpr":false,"startsExpr":true,"isLoop":false,"isAssign":false,"prefix":false,"postfix":false,"binop":null,"updateContext":null},"value":"x","loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":5}}},{"type":{"label":"=","beforeExpr":true,"startsExpr":false,"isLoop":false,"isAssign":true,"prefix":false,"postfix":false,"binop":null,"updateContext":null},"value":"=","loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7}}},{"type":{"label":"(","beforeExpr":true,"startsExpr":true,"isLoop":false,"isAssign":false,"prefix":false,"postfix":false,"binop":null},"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":9}}},{"type":{"label":"num","beforeExpr":false,"startsExpr":true,"isLoop":false,"isAssign":false,"prefix":false,"postfix":false,"binop":null,"updateContext":null},"value":1,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":10}}},{"type":{"binop":9,"prefix":true,"beforeExpr":true},"value":"+","loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12}}},{"type":{"label":"num","beforeExpr":false,"startsExpr":true,"isLoop":false,"isAssign":false,"prefix":false,"postfix":false,"binop":null,"updateContext":null},"value":2,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":14}}},{"type":{"label":")","beforeExpr":false,"startsExpr":false,"isLoop":false,"isAssign":false,"prefix":false,"postfix":false,"binop":null},"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":15}}},{"type":{"label":"eof","beforeExpr":false,"startsExpr":false,"isLoop":false,"isAssign":false,"prefix":false,"postfix":false,"binop":null,"updateContext":null},"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":15}}}]}}, {"source":"function f(f) { 'use strict'; }","expected":{}}, {"source":"#!/usr/bin/node\n;","expected":{},"options":{"allowHashBang":true,"onComment":[{"type":"Line","value":"/usr/bin/node","start":0,"end":15}]}}, {"source":"(function () {} / 1)","expected":{"type":"Program","body":[{"type":"ExpressionStatement","expression":{"type":"BinaryExpression","left":{"type":"FunctionExpression","id":null,"params":[],"body":{"type":"BlockStatement","body":[]}},"operator":"/","right":{"type":"Literal","value":1}}}]}}, {"source":"function f() {} / 1 /","expected":{"type":"Program","body":[{"type":"FunctionDeclaration","id":{"type":"Identifier","name":"f"},"params":[],"body":{"type":"BlockStatement","body":[]}},{"type":"ExpressionStatement","expression":{"type":"Literal","regex":{"pattern":" 1 ","flags":""},"value":{}}}]}} ]