Debian Codegraph @

packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
4 "errors": [
5 "SyntaxError: Legacy octal literals are not allowed in strict mode. (1:14)",
6 "SyntaxError: Legacy octal literals are not allowed in strict mode. (1:18)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17}},
17 "expression": {
18 "type": "NumericLiteral",
19 "start":14,"end":16,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":16,"index":16}},
20 "extra": {
21 "rawValue": 4,
22 "raw": "04"
23 },
24 "value": 4
25 }
26 },
27 {
28 "type": "ExpressionStatement",
29 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21}},
30 "expression": {
31 "type": "NumericLiteral",
32 "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20}},
33 "extra": {
34 "rawValue": 5,
35 "raw": "05"
36 },
37 "value": 5
38 }
39 }
40 ],
41 "directives": [
42 {
43 "type": "Directive",
44 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
45 "value": {
46 "type": "DirectiveLiteral",
47 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
48 "extra": {
49 "rawValue": "use strict",
50 "raw": "\"use strict\"",
51 "expressionValue": "use strict"
52 },
53 "value": "use strict"
54 }
55 }
56 ]
57 }
58 }