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.
200 lines
5.1 KiB
Plaintext
200 lines
5.1 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
24,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
24,
|
|
),
|
|
hi: BytePos(
|
|
24,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
24,
|
|
),
|
|
hi: BytePos(
|
|
29,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
24,
|
|
),
|
|
hi: BytePos(
|
|
29,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "lends",
|
|
},
|
|
tag: Lends(
|
|
LendsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
24,
|
|
),
|
|
hi: BytePos(
|
|
29,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
24,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
24,
|
|
),
|
|
hi: BytePos(
|
|
24,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
49,
|
|
),
|
|
hi: BytePos(
|
|
49,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
49,
|
|
),
|
|
hi: BytePos(
|
|
60,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "document me",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
109,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
109,
|
|
),
|
|
hi: BytePos(
|
|
109,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
109,
|
|
),
|
|
hi: BytePos(
|
|
118,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
109,
|
|
),
|
|
hi: BytePos(
|
|
118,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "namespace",
|
|
},
|
|
tag: Namespace(
|
|
NamespaceTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
109,
|
|
),
|
|
hi: BytePos(
|
|
118,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: None,
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
159,
|
|
),
|
|
hi: BytePos(
|
|
159,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
159,
|
|
),
|
|
hi: BytePos(
|
|
170,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "document me",
|
|
},
|
|
tags: [],
|
|
},
|
|
]
|