swc/crates/jsdoc/tests/fixtures/exports.debug

436 lines
14 KiB
Plaintext
Raw Normal View History

2020-08-14 12:20:25 +03:00
[
JsDoc {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
50,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "An example of a server-side JavaScript module.\n *",
2020-08-14 12:20:25 +03:00
},
tags: [
TagItem {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
7,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
7,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "module",
2020-08-14 12:20:25 +03:00
},
tag: Module(
ModuleTag {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
7,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: Text {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
6,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "world",
2020-08-14 12:20:25 +03:00
},
ty: Text {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
6,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "hello",
2020-08-14 12:20:25 +03:00
},
},
),
},
2020-09-11 06:52:57 +03:00
TagItem {
span: Span {
lo: BytePos(
1,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
8,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
1,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
8,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "example",
2020-09-11 06:52:57 +03:00
},
tag: Example(
ExampleTag {
span: Span {
lo: BytePos(
1,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
8,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
text: Text {
span: Span {
lo: BytePos(
1,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
58,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "* var g = require('hello/world').sayHello('Gracie');\n ",
2020-09-11 06:52:57 +03:00
},
},
),
},
2020-08-14 12:20:25 +03:00
],
},
JsDoc {
span: Span {
lo: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
175,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "Generate a greeting.\n *",
2020-08-14 12:20:25 +03:00
},
tags: [
TagItem {
span: Span {
lo: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
157,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
157,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "param",
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
157,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
160,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "{string}",
2020-08-14 12:20:25 +03:00
},
),
desc: Text {
span: Span {
lo: BytePos(
152,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
191,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "[subject=\"world\"] To whom we say hello.",
2020-08-14 12:20:25 +03:00
},
},
),
},
2020-09-11 06:52:57 +03:00
TagItem {
span: Span {
lo: BytePos(
152,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
159,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
152,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
159,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "returns",
2020-09-11 06:52:57 +03:00
},
tag: Return(
ReturnTag {
span: Span {
lo: BytePos(
152,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
159,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
ty: Some(
Text {
span: Span {
lo: BytePos(
152,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
160,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "{string}",
2020-09-11 06:52:57 +03:00
},
),
description: Text {
span: Span {
lo: BytePos(
152,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
152,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "",
2020-09-11 06:52:57 +03:00
},
},
),
},
2020-08-14 12:20:25 +03:00
],
},
JsDoc {
span: Span {
lo: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
381,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "Generate a morose farewell.\n *",
2020-08-14 12:20:25 +03:00
},
tags: [
TagItem {
span: Span {
lo: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
356,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
356,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "param",
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
356,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
359,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "{string}",
2020-08-14 12:20:25 +03:00
},
),
desc: Text {
span: Span {
lo: BytePos(
351,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
392,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "[subject=\"world\"] To whom we say goodbye.",
2020-08-14 12:20:25 +03:00
},
},
),
},
2020-09-11 06:52:57 +03:00
TagItem {
span: Span {
lo: BytePos(
351,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
358,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
351,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
358,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "returns",
2020-09-11 06:52:57 +03:00
},
tag: Return(
ReturnTag {
span: Span {
lo: BytePos(
351,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
358,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
ty: Some(
Text {
span: Span {
lo: BytePos(
351,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
359,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "{string}",
2020-09-11 06:52:57 +03:00
},
),
description: Text {
span: Span {
lo: BytePos(
351,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
351,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: "",
2020-09-11 06:52:57 +03:00
},
},
),
},
2020-08-14 12:20:25 +03:00
],
},
]