Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-strict-method/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":14,"end":30,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":30,"index":30}},
13 "expression": {
14 "type": "ObjectExpression",
15 "start":15,"end":29,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":29,"index":29}},
16 "properties": [
17 {
18 "type": "ObjectMethod",
19 "start":17,"end":27,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":27,"index":27}},
20 "method": true,
21 "key": {
22 "type": "Identifier",
23 "start":17,"end":22,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":22,"index":22},"identifierName":"yield"},
24 "name": "yield"
25 },
26 "computed": false,
27 "kind": "method",
28 "id": null,
29 "generator": false,
30 "async": false,
31 "params": [],
32 "body": {
33 "type": "BlockStatement",
34 "start":25,"end":27,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":27,"index":27}},
35 "body": [],
36 "directives": []
37 }
38 }
39 ],
40 "extra": {
41 "parenthesized": true,
42 "parenStart": 14
43 }
44 }
45 }
46 ],
47 "directives": [
48 {
49 "type": "Directive",
50 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
51 "value": {
52 "type": "DirectiveLiteral",
53 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
54 "extra": {
55 "rawValue": "use strict",
56 "raw": "\"use strict\"",
57 "expressionValue": "use strict"
58 },
59 "value": "use strict"
60 }
61 }
62 ]
63 }
64 }