mirror of
https://github.com/swc-project/swc.git
synced 2025-01-01 10:02:51 +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.
369 lines
10 KiB
Plaintext
369 lines
10 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
61,
|
|
),
|
|
hi: BytePos(
|
|
71,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
61,
|
|
),
|
|
hi: BytePos(
|
|
61,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
61,
|
|
),
|
|
hi: BytePos(
|
|
66,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
61,
|
|
),
|
|
hi: BytePos(
|
|
66,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "lends",
|
|
},
|
|
tag: Lends(
|
|
LendsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
61,
|
|
),
|
|
hi: BytePos(
|
|
66,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
61,
|
|
),
|
|
hi: BytePos(
|
|
71,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
61,
|
|
),
|
|
hi: BytePos(
|
|
67,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Person",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
114,
|
|
),
|
|
hi: BytePos(
|
|
114,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
114,
|
|
),
|
|
hi: BytePos(
|
|
114,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
114,
|
|
),
|
|
hi: BytePos(
|
|
124,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
114,
|
|
),
|
|
hi: BytePos(
|
|
124,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "constructs",
|
|
},
|
|
tag: Constructs(
|
|
ConstructsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
114,
|
|
),
|
|
hi: BytePos(
|
|
124,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
0,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
235,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
251,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Speak a message.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
419,
|
|
),
|
|
hi: BytePos(
|
|
429,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
419,
|
|
),
|
|
hi: BytePos(
|
|
419,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
419,
|
|
),
|
|
hi: BytePos(
|
|
424,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
419,
|
|
),
|
|
hi: BytePos(
|
|
424,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "lends",
|
|
},
|
|
tag: Lends(
|
|
LendsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
419,
|
|
),
|
|
hi: BytePos(
|
|
424,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
419,
|
|
),
|
|
hi: BytePos(
|
|
429,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
419,
|
|
),
|
|
hi: BytePos(
|
|
424,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Robot",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
471,
|
|
),
|
|
hi: BytePos(
|
|
471,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
471,
|
|
),
|
|
hi: BytePos(
|
|
471,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
471,
|
|
),
|
|
hi: BytePos(
|
|
481,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
471,
|
|
),
|
|
hi: BytePos(
|
|
481,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "constructs",
|
|
},
|
|
tag: Constructs(
|
|
ConstructsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
471,
|
|
),
|
|
hi: BytePos(
|
|
481,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
0,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
592,
|
|
),
|
|
hi: BytePos(
|
|
592,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
592,
|
|
),
|
|
hi: BytePos(
|
|
606,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Feign emotion.",
|
|
},
|
|
tags: [],
|
|
},
|
|
]
|