Debian Codegraph @

packages/babel-parser/test/fixtures/es2019/json-strings/string-paragraph-separator/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":106,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":88,"index":106}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":106,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":88,"index":106}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":17}},
13 "expression": {
14 "type": "StringLiteral",
15 "start":1,"end":15,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":2,"column":6,"index":15}},
16 "extra": {
17 "rawValue": "before
after",
18 "raw": "\"before
after\"",
19 "parenthesized": true,
20 "parenStart": 0
21 },
22 "value": "before
after"
23 },
24 "trailingComments": [
25 {
26 "type": "CommentLine",
27 "value": " ^ That's a U+2029 PARAGRAPH SEPARATOR UTF-16 char (between 'before' and 'after')",
28 "start":18,"end":106,"loc":{"start":{"line":3,"column":0,"index":18},"end":{"line":3,"column":88,"index":106}}
29 }
30 ]
31 }
32 ],
33 "directives": []
34 },
35 "comments": [
36 {
37 "type": "CommentLine",
38 "value": " ^ That's a U+2029 PARAGRAPH SEPARATOR UTF-16 char (between 'before' and 'after')",
39 "start":18,"end":106,"loc":{"start":{"line":3,"column":0,"index":18},"end":{"line":3,"column":88,"index":106}}
40 }
41 ]
42 }