1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
source: tests/test.rs
assertion_line: 13
expression: "format!(\"{:#?}\", parse(& source).unwrap())"
input_file: tests/ok/comments.hrx
---
Archive {
start: 0,
end: 154,
entries: [
Entry {
start: 0,
end: 72,
comment: Some(
Comment {
start: 0,
end: 25,
source: "<===>\nThis is a comment.\n",
boundary: Boundary {
start: 0,
end: 5,
},
body: Body {
start: 6,
end: 25,
source: "This is a comment.\n",
},
},
),
body: File(
File {
start: 0,
end: 72,
body: Some(
Body {
start: 37,
end: 72,
source: "This is the contents of the file.\n\n",
},
),
path: Path {
start: 31,
end: 36,
source: "file1",
},
},
),
},
Entry {
start: 72,
end: 154,
comment: Some(
Comment {
start: 72,
end: 103,
source: "<===>\nThis is another comment.\n",
boundary: Boundary {
start: 72,
end: 77,
},
body: Body {
start: 78,
end: 103,
source: "This is another comment.\n",
},
},
),
body: File(
File {
start: 72,
end: 154,
body: Some(
Body {
start: 115,
end: 154,
source: "This is the contents of another file.\n\n",
},
),
path: Path {
start: 109,
end: 114,
source: "file2",
},
},
),
},
],
comment: None,
}