mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
270 lines
8.1 KiB
Plaintext
270 lines
8.1 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
69,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
54,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('*
|
|
* An example of a server-side JavaScript module.
|
|
*' 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(
|
|
5,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('world' type=inline),
|
|
},
|
|
ty: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
5,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('hello' type=inline),
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
151,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
151,
|
|
),
|
|
hi: BytePos(
|
|
179,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('*
|
|
* Generate a greeting.
|
|
*' 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('{string}' type=dynamic),
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
151,
|
|
),
|
|
hi: BytePos(
|
|
190,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('[subject="world"] To whom we say hello.' type=dynamic),
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
350,
|
|
),
|
|
hi: BytePos(
|
|
371,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
350,
|
|
),
|
|
hi: BytePos(
|
|
385,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('*
|
|
* Generate a morose farewell.
|
|
*' type=dynamic),
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
350,
|
|
),
|
|
hi: BytePos(
|
|
355,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
350,
|
|
),
|
|
hi: BytePos(
|
|
355,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('param' type=inline),
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
350,
|
|
),
|
|
hi: BytePos(
|
|
355,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
350,
|
|
),
|
|
hi: BytePos(
|
|
358,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('{string}' type=dynamic),
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
350,
|
|
),
|
|
hi: BytePos(
|
|
391,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: Atom('[subject="world"] To whom we say goodbye.' type=dynamic),
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|