| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}}, |
| 7 | "sourceType": "script", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "FunctionDeclaration", |
| 12 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}}, |
| 13 | "id": { |
| 14 | "type": "Identifier", |
| 15 | "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"f"}, |
| 16 | "name": "f" |
| 17 | }, |
| 18 | "generator": true, |
| 19 | "async": false, |
| 20 | "params": [], |
| 21 | "body": { |
| 22 | "type": "BlockStatement", |
| 23 | "start":14,"end":30,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":3,"column":1,"index":30}}, |
| 24 | "body": [ |
| 25 | { |
| 26 | "type": "ExpressionStatement", |
| 27 | "start":16,"end":21,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":21,"index":21}}, |
| 28 | "expression": { |
| 29 | "type": "YieldExpression", |
| 30 | "start":16,"end":21,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":21,"index":21}}, |
| 31 | "delegate": false, |
| 32 | "argument": null |
| 33 | } |
| 34 | }, |
| 35 | { |
| 36 | "type": "BlockStatement", |
| 37 | "start":22,"end":24,"loc":{"start":{"line":2,"column":0,"index":22},"end":{"line":2,"column":2,"index":24}}, |
| 38 | "body": [], |
| 39 | "directives": [] |
| 40 | }, |
| 41 | { |
| 42 | "type": "ExpressionStatement", |
| 43 | "start":24,"end":28,"loc":{"start":{"line":2,"column":2,"index":24},"end":{"line":2,"column":6,"index":28}}, |
| 44 | "expression": { |
| 45 | "type": "RegExpLiteral", |
| 46 | "start":24,"end":28,"loc":{"start":{"line":2,"column":2,"index":24},"end":{"line":2,"column":6,"index":28}}, |
| 47 | "extra": { |
| 48 | "raw": "/1/g" |
| 49 | }, |
| 50 | "pattern": "1", |
| 51 | "flags": "g" |
| 52 | } |
| 53 | } |
| 54 | ], |
| 55 | "directives": [] |
| 56 | } |
| 57 | } |
| 58 | ], |
| 59 | "directives": [] |
| 60 | } |
| 61 | } |