Debian Codegraph @

packages/babel-parser/test/fixtures/v8intrinsic/expression/yield-expression/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":53}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":53}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":53}},
13 "id": {
14 "type": "Identifier",
15 "start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13},"identifierName":"foo"},
16 "name": "foo"
17 },
18 "generator": true,
19 "async": false,
20 "params": [],
21 "body": {
22 "type": "BlockStatement",
23 "start":16,"end":53,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":3,"column":1,"index":53}},
24 "body": [
25 {
26 "type": "ExpressionStatement",
27 "start":20,"end":51,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":33,"index":51}},
28 "expression": {
29 "type": "YieldExpression",
30 "start":20,"end":51,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":33,"index":51}},
31 "delegate": false,
32 "argument": {
33 "type": "CallExpression",
34 "start":26,"end":51,"loc":{"start":{"line":2,"column":8,"index":26},"end":{"line":2,"column":33,"index":51}},
35 "callee": {
36 "type": "V8IntrinsicIdentifier",
37 "start":26,"end":41,"loc":{"start":{"line":2,"column":8,"index":26},"end":{"line":2,"column":23,"index":41},"identifierName":"StringParseInt"},
38 "name": "StringParseInt"
39 },
40 "arguments": [
41 {
42 "type": "StringLiteral",
43 "start":42,"end":46,"loc":{"start":{"line":2,"column":24,"index":42},"end":{"line":2,"column":28,"index":46}},
44 "extra": {
45 "rawValue": "42",
46 "raw": "\"42\""
47 },
48 "value": "42"
49 },
50 {
51 "type": "NumericLiteral",
52 "start":48,"end":50,"loc":{"start":{"line":2,"column":30,"index":48},"end":{"line":2,"column":32,"index":50}},
53 "extra": {
54 "rawValue": 10,
55 "raw": "10"
56 },
57 "value": 10
58 }
59 ]
60 }
61 }
62 }
63 ],
64 "directives": []
65 }
66 }
67 ],
68 "directives": []
69 }
70 }