mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +03:00
178 lines
5.2 KiB
Plaintext
178 lines
5.2 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
0,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
31,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('This is a module called foo.
|
|
*' 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(
|
|
96,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('The module exports a single function.
|
|
*' 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),
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|