Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/meta-properties/new-target-invalid-escaped-target/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
4 "errors": [
5 "SyntaxError: The only valid meta property for new is new.target. (1:19)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "FunctionDeclaration",
15 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
16 "id": {
17 "type": "Identifier",
18 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"f"},
19 "name": "f"
20 },
21 "generator": false,
22 "async": false,
23 "params": [],
24 "body": {
25 "type": "BlockStatement",
26 "start":13,"end":33,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":33,"index":33}},
27 "body": [
28 {
29 "type": "ExpressionStatement",
30 "start":15,"end":31,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":31,"index":31}},
31 "expression": {
32 "type": "MetaProperty",
33 "start":15,"end":30,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":30,"index":30}},
34 "meta": {
35 "type": "Identifier",
36 "start":15,"end":18,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":18,"index":18},"identifierName":"new"},
37 "name": "new"
38 },
39 "property": {
40 "type": "Identifier",
41 "start":19,"end":30,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":30,"index":30},"identifierName":"target"},
42 "name": "target"
43 }
44 }
45 }
46 ],
47 "directives": []
48 }
49 }
50 ],
51 "directives": []
52 }
53 }