mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +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.
162 lines
4.5 KiB
Plaintext
162 lines
4.5 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
1,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
1,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
5,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
5,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "name",
|
|
},
|
|
tag: Name(
|
|
NameTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
5,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name_path: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
2,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
8,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "virtual",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
45,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
45,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
48,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
48,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "foo",
|
|
},
|
|
tag: Unknown(
|
|
UnknownTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
48,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
extras: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
48,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "bar",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|