swc/ecmascript/jsdoc/tests/fixtures/moduleisfunction.debug

178 lines
5.2 KiB
Plaintext
Raw Normal View History

2020-08-14 12:20:25 +03:00
[
JsDoc {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
0,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
2020-09-11 06:52:57 +03:00
31,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('This is a module called foo.
2020-08-14 12:20:25 +03:00
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
6,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
6,
),
ctxt: #0,
},
value: Atom('module' type=static),
},
tag: Module(
ModuleTag {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
6,
),
ctxt: #0,
},
name: Text {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
0,
),
ctxt: #0,
},
value: Atom('' type=static),
},
ty: Text {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
3,
),
ctxt: #0,
},
value: Atom('foo' type=inline),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
56,
),
hi: BytePos(
56,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
56,
),
hi: BytePos(
2020-09-11 06:52:57 +03:00
96,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('The module exports a single function.
2020-08-14 12:20:25 +03:00
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
56,
),
hi: BytePos(
61,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
56,
),
hi: BytePos(
61,
),
ctxt: #0,
},
value: Atom('param' type=inline),
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
56,
),
hi: BytePos(
61,
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
56,
),
hi: BytePos(
64,
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
56,
),
hi: BytePos(
59,
),
ctxt: #0,
},
value: Atom('bar' type=inline),
},
},
),
},
],
},
]