Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-meta-property/unknown-property/output.json

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