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.
224 lines
5.6 KiB
Plaintext
224 lines
5.6 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(
|
|
6,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
6,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "class",
|
|
},
|
|
tag: Class(
|
|
ClassTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
6,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: None,
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
43,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
43,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
48,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
48,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "lends",
|
|
},
|
|
tag: Lends(
|
|
LendsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
48,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
44,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
49,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Person",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
79,
|
|
),
|
|
hi: BytePos(
|
|
79,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
79,
|
|
),
|
|
hi: BytePos(
|
|
101,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Set up initial values.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
158,
|
|
),
|
|
hi: BytePos(
|
|
158,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
158,
|
|
),
|
|
hi: BytePos(
|
|
181,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "The name of the person.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
239,
|
|
),
|
|
hi: BytePos(
|
|
239,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
239,
|
|
),
|
|
hi: BytePos(
|
|
255,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Speak a message.",
|
|
},
|
|
tags: [],
|
|
},
|
|
]
|