Debian Codegraph @

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

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