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

341 lines
10 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(
29,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Describe the module here.
2020-08-14 12:20:25 +03:00
*' type=dynamic),
},
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: Atom('module' type=static),
},
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(
7,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('config' type=inline),
},
ty: 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: Atom('mymodule' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
66,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
66,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
66,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
99,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Create a new configuration.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
66,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
75,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
66,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
75,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('classdesc' type=dynamic),
},
tag: ClassDesc(
JSDocClassDescTag {
span: Span {
lo: BytePos(
66,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
75,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
desc: Text {
span: Span {
lo: BytePos(
66,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
90,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('Describe the class here.' type=dynamic),
},
},
),
},
2020-09-11 06:52:57 +03:00
TagItem {
span: Span {
lo: BytePos(
66,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
71,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
66,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
71,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('class' type=static),
},
tag: Class(
ClassTag {
span: Span {
lo: BytePos(
66,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
71,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
ty: Some(
Text {
span: Span {
lo: BytePos(
66,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
97,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('* @alias module:mymodule/config' type=dynamic),
},
),
name: Some(
Text {
span: Span {
lo: BytePos(
66,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
86,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('* @param {string} id' type=dynamic),
},
),
},
),
},
2020-08-14 12:20:25 +03:00
],
},
JsDoc {
span: Span {
lo: BytePos(
237,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
237,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
237,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
249,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Document me.' type=dynamic),
2020-08-14 12:20:25 +03:00
},
tags: [],
},
JsDoc {
span: Span {
lo: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
308,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Get the configuration ID.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
283,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
283,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('return' type=static),
},
tag: Return(
ReturnTag {
span: Span {
lo: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
283,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
ty: Some(
Text {
span: Span {
lo: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
285,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
description: Text {
span: Span {
lo: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
298,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('The configuration ID.' type=dynamic),
},
},
),
},
],
},
]