Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-import/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":90,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":41,"index":90}},
4 "errors": [
5 "SyntaxError: Unexpected keyword 'import'. (1:4)",
6 "SyntaxError: Escape sequence in keyword import. (1:4)",
7 "SyntaxError: Escape sequence in keyword import. (3:0)"
8 ],
9 "program": {
10 "type": "Program",
11 "start":0,"end":90,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":41,"index":90}},
12 "sourceType": "module",
13 "interpreter": null,
14 "body": [
15 {
16 "type": "VariableDeclaration",
17 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
18 "declarations": [
19 {
20 "type": "VariableDeclarator",
21 "start":4,"end":46,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":46,"index":46}},
22 "id": {
23 "type": "Identifier",
24 "start":4,"end":40,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":40,"index":40},"identifierName":"import"},
25 "name": "import"
26 },
27 "init": {
28 "type": "NumericLiteral",
29 "start":43,"end":46,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":46,"index":46}},
30 "extra": {
31 "rawValue": 123,
32 "raw": "123"
33 },
34 "value": 123
35 }
36 }
37 ],
38 "kind": "var"
39 },
40 {
41 "type": "ImportDeclaration",
42 "start":49,"end":90,"loc":{"start":{"line":3,"column":0,"index":49},"end":{"line":3,"column":41,"index":90}},
43 "specifiers": [],
44 "source": {
45 "type": "StringLiteral",
46 "start":86,"end":89,"loc":{"start":{"line":3,"column":37,"index":86},"end":{"line":3,"column":40,"index":89}},
47 "extra": {
48 "rawValue": "x",
49 "raw": "\"x\""
50 },
51 "value": "x"
52 }
53 }
54 ],
55 "directives": []
56 }
57 }