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

212 lines
5.6 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(
31,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "Increment a number by 1.\n *\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(
6,
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(
6,
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(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
6,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
9,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "{number}",
2020-08-14 12:20:25 +03:00
},
),
desc: Text {
span: Span {
lo: BytePos(
1,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
29,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "n - The number to increment.",
2020-08-14 12:20:25 +03:00
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
117,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
117,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
117,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
146,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "Print a value to the console.",
2020-08-14 12:20:25 +03:00
},
tags: [],
},
JsDoc {
span: Span {
lo: BytePos(
171,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
175,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
171,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
171,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "",
2020-08-14 12:20:25 +03:00
},
tags: [
TagItem {
span: Span {
lo: BytePos(
171,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
175,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
171,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
175,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "type",
2020-08-14 12:20:25 +03:00
},
tag: Type(
TypeTag {
span: Span {
lo: BytePos(
171,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
175,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: Text {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
0,
),
ctxt: #0,
},
value: "",
2020-08-14 12:20:25 +03:00
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
215,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
215,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
215,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
253,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: "Create a class with a `name` property.",
2020-08-14 12:20:25 +03:00
},
tags: [],
},
]