Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/expression-primary-literal-regular-expression/u-flag-valid-range/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":61,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":61,"index":61}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":61,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":61,"index":61}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":61,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":61,"index":61}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":60,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":60,"index":60}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"x"},
20 "name": "x"
21 },
22 "init": {
23 "type": "RegExpLiteral",
24 "start":8,"end":60,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":60,"index":60}},
25 "extra": {
26 "raw": "/[\\u{61}-b][\\u0061-b][a-\\u{62}][a-\\u0062]\\u{1ffff}/u"
27 },
28 "pattern": "[\\u{61}-b][\\u0061-b][a-\\u{62}][a-\\u0062]\\u{1ffff}",
29 "flags": "u"
30 }
31 }
32 ],
33 "kind": "var"
34 }
35 ],
36 "directives": []
37 }
38 }