mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +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.
210 lines
5.6 KiB
Plaintext
210 lines
5.6 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
30,
|
|
),
|
|
hi: BytePos(
|
|
30,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
30,
|
|
),
|
|
hi: BytePos(
|
|
30,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
30,
|
|
),
|
|
hi: BytePos(
|
|
35,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
30,
|
|
),
|
|
hi: BytePos(
|
|
35,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "lends",
|
|
},
|
|
tag: Lends(
|
|
LendsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
30,
|
|
),
|
|
hi: BytePos(
|
|
35,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
30,
|
|
),
|
|
hi: BytePos(
|
|
31,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
30,
|
|
),
|
|
hi: BytePos(
|
|
36,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Person",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
66,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
85,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Construct a Person.",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
76,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
76,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "constructs",
|
|
},
|
|
tag: Constructs(
|
|
ConstructsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
76,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
66,
|
|
),
|
|
hi: BytePos(
|
|
72,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Person",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
182,
|
|
),
|
|
hi: BytePos(
|
|
182,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
182,
|
|
),
|
|
hi: BytePos(
|
|
205,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "The name of the person.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
263,
|
|
),
|
|
hi: BytePos(
|
|
263,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
263,
|
|
),
|
|
hi: BytePos(
|
|
279,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Speak a message.",
|
|
},
|
|
tags: [],
|
|
},
|
|
]
|