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

318 lines
9.2 KiB
Plaintext
Raw Normal View History

2020-08-14 12:20:25 +03:00
[
JsDoc {
span: Span {
lo: BytePos(
151,
),
hi: BytePos(
151,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
151,
),
hi: BytePos(
2020-09-11 06:52:57 +03:00
167,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Add a number.
2020-08-14 12:20:25 +03:00
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
151,
),
hi: BytePos(
156,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
151,
),
hi: BytePos(
156,
),
ctxt: #0,
},
value: Atom('param' type=inline),
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
151,
),
hi: BytePos(
156,
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
151,
),
hi: BytePos(
159,
),
ctxt: #0,
},
value: Atom('{number}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
151,
),
hi: BytePos(
173,
),
ctxt: #0,
},
value: Atom('x - The number to add.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
355,
),
hi: BytePos(
355,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
355,
),
hi: BytePos(
2020-09-11 06:52:57 +03:00
376,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Subtract a number.
2020-08-14 12:20:25 +03:00
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
355,
),
hi: BytePos(
360,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
355,
),
hi: BytePos(
360,
),
ctxt: #0,
},
value: Atom('param' type=inline),
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
355,
),
hi: BytePos(
360,
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
355,
),
hi: BytePos(
363,
),
ctxt: #0,
},
value: Atom('{number}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
355,
),
hi: BytePos(
382,
),
ctxt: #0,
},
value: Atom('x - The number to subtract.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
589,
),
hi: BytePos(
589,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
589,
),
hi: BytePos(
2020-09-11 06:52:57 +03:00
601,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Adder class.' type=dynamic),
2020-08-14 12:20:25 +03:00
},
tags: [],
},
JsDoc {
span: Span {
lo: BytePos(
631,
),
hi: BytePos(
631,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
631,
),
hi: BytePos(
2020-09-11 06:52:57 +03:00
659,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Construct an Adder instance.' type=dynamic),
2020-08-14 12:20:25 +03:00
},
tags: [],
},
JsDoc {
span: Span {
lo: BytePos(
705,
),
hi: BytePos(
705,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
705,
),
hi: BytePos(
2020-09-11 06:52:57 +03:00
725,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Add a number.
2020-08-14 12:20:25 +03:00
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
705,
),
hi: BytePos(
710,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
705,
),
hi: BytePos(
710,
),
ctxt: #0,
},
value: Atom('param' type=inline),
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
705,
),
hi: BytePos(
710,
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
705,
),
hi: BytePos(
713,
),
ctxt: #0,
},
value: Atom('{number}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
705,
),
hi: BytePos(
727,
),
ctxt: #0,
},
value: Atom('x - The number to add.' type=dynamic),
},
},
),
},
],
},
]