mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
84cec8766d
**Description:** This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns. **Related issue:** - #4946.
311 lines
8.7 KiB
Plaintext
311 lines
8.7 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
1,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
29,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Describe the module here.\n *",
|
|
},
|
|
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: "module",
|
|
},
|
|
tag: Module(
|
|
ModuleTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "config",
|
|
},
|
|
ty: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
9,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "mymodule",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
66,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
90,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Describe the class here.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
132,
|
|
),
|
|
hi: BytePos(
|
|
132,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
132,
|
|
),
|
|
hi: BytePos(
|
|
166,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Create a new configuration.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
132,
|
|
),
|
|
hi: BytePos(
|
|
137,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
132,
|
|
),
|
|
hi: BytePos(
|
|
137,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "param",
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
132,
|
|
),
|
|
hi: BytePos(
|
|
137,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
132,
|
|
),
|
|
hi: BytePos(
|
|
140,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{string}",
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
132,
|
|
),
|
|
hi: BytePos(
|
|
134,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "id",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
235,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
247,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Document me.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
288,
|
|
),
|
|
hi: BytePos(
|
|
288,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
288,
|
|
),
|
|
hi: BytePos(
|
|
327,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Get the configuration ID.\n *\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
288,
|
|
),
|
|
hi: BytePos(
|
|
294,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
288,
|
|
),
|
|
hi: BytePos(
|
|
294,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "return",
|
|
},
|
|
tag: Return(
|
|
ReturnTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
288,
|
|
),
|
|
hi: BytePos(
|
|
294,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
288,
|
|
),
|
|
hi: BytePos(
|
|
296,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{string}",
|
|
},
|
|
),
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
288,
|
|
),
|
|
hi: BytePos(
|
|
309,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "The configuration ID.",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|