Debian Codegraph @

packages/babel-parser/test/fixtures/core/escape-string/non-octal-eight-and-nine/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":49}},
4 "errors": [
5 "SyntaxError: The only valid numeric escape in strict mode is '\\0'. (4:4)",
6 "SyntaxError: The only valid numeric escape in strict mode is '\\0'. (4:9)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":49}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":11,"end":49,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":5,"column":1,"index":49}},
17 "expression": {
18 "type": "ArrowFunctionExpression",
19 "start":11,"end":49,"loc":{"start":{"line":2,"column":0,"index":11},"end":{"line":5,"column":1,"index":49}},
20 "id": null,
21 "generator": false,
22 "async": false,
23 "params": [],
24 "body": {
25 "type": "BlockStatement",
26 "start":17,"end":49,"loc":{"start":{"line":2,"column":6,"index":17},"end":{"line":5,"column":1,"index":49}},
27 "body": [],
28 "directives": [
29 {
30 "type": "Directive",
31 "start":21,"end":34,"loc":{"start":{"line":3,"column":2,"index":21},"end":{"line":3,"column":15,"index":34}},
32 "value": {
33 "type": "DirectiveLiteral",
34 "start":21,"end":33,"loc":{"start":{"line":3,"column":2,"index":21},"end":{"line":3,"column":14,"index":33}},
35 "extra": {
36 "rawValue": "use strict",
37 "raw": "\"use strict\"",
38 "expressionValue": "use strict"
39 },
40 "value": "use strict"
41 }
42 },
43 {
44 "type": "Directive",
45 "start":37,"end":42,"loc":{"start":{"line":4,"column":2,"index":37},"end":{"line":4,"column":7,"index":42}},
46 "value": {
47 "type": "DirectiveLiteral",
48 "start":37,"end":41,"loc":{"start":{"line":4,"column":2,"index":37},"end":{"line":4,"column":6,"index":41}},
49 "extra": {
50 "rawValue": "\\8",
51 "raw": "\"\\8\"",
52 "expressionValue": "8"
53 },
54 "value": "\\8"
55 }
56 },
57 {
58 "type": "Directive",
59 "start":42,"end":47,"loc":{"start":{"line":4,"column":7,"index":42},"end":{"line":4,"column":12,"index":47}},
60 "value": {
61 "type": "DirectiveLiteral",
62 "start":42,"end":46,"loc":{"start":{"line":4,"column":7,"index":42},"end":{"line":4,"column":11,"index":46}},
63 "extra": {
64 "rawValue": "\\9",
65 "raw": "\"\\9\"",
66 "expressionValue": "9"
67 },
68 "value": "\\9"
69 }
70 }
71 ]
72 }
73 }
74 }
75 ],
76 "directives": [
77 {
78 "type": "Directive",
79 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
80 "value": {
81 "type": "DirectiveLiteral",
82 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
83 "extra": {
84 "rawValue": "\\8",
85 "raw": "\"\\8\"",
86 "expressionValue": "8"
87 },
88 "value": "\\8"
89 }
90 },
91 {
92 "type": "Directive",
93 "start":5,"end":10,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":10,"index":10}},
94 "value": {
95 "type": "DirectiveLiteral",
96 "start":5,"end":9,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":9,"index":9}},
97 "extra": {
98 "rawValue": "\\9",
99 "raw": "\"\\9\"",
100 "expressionValue": "9"
101 },
102 "value": "\\9"
103 }
104 }
105 ]
106 }
107 }