Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":103,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":87,"index":103}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":103,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":87,"index":103}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [],
10 "directives": [
11 {
12 "type": "Directive",
13 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":7,"index":15}},
14 "value": {
15 "type": "DirectiveLiteral",
16 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":14}},
17 "extra": {
18 "rawValue": "before
after",
19 "raw": "\"before
after\"",
20 "expressionValue": "before
after"
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":16,"end":103,"loc":{"start":{"line":3,"column":0,"index":16},"end":{"line":3,"column":87,"index":103}}
29 }
30 ]
31 }
32 ]
33 },
34 "comments": [
35 {
36 "type": "CommentLine",
37 "value": " ^ That's a U+2029 PARAGRAPH SEPARATOR UTF-16 char (between 'before' and 'after')",
38 "start":16,"end":103,"loc":{"start":{"line":3,"column":0,"index":16},"end":{"line":3,"column":87,"index":103}}
39 }
40 ]
41 }