mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
178 lines
5.2 KiB
Plaintext
178 lines
5.2 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
1,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
32,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('This is a module called foo.
|
|
*' type=dynamic),
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('module' type=static),
|
|
},
|
|
tag: Module(
|
|
ModuleTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
0,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('' type=static),
|
|
},
|
|
ty: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
4,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('foo' type=inline),
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
57,
|
|
),
|
|
hi: BytePos(
|
|
57,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
57,
|
|
),
|
|
hi: BytePos(
|
|
97,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('The module exports a single function.
|
|
*' type=dynamic),
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
57,
|
|
),
|
|
hi: BytePos(
|
|
62,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
57,
|
|
),
|
|
hi: BytePos(
|
|
62,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('param' type=static),
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
57,
|
|
),
|
|
hi: BytePos(
|
|
62,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
57,
|
|
),
|
|
hi: BytePos(
|
|
65,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('{string}' type=dynamic),
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
57,
|
|
),
|
|
hi: BytePos(
|
|
60,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('bar' type=inline),
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|