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.
173 lines
4.5 KiB
Plaintext
173 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(
|
|
16,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Employee class.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
45,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
61,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Location.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
49,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
49,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "type",
|
|
},
|
|
tag: Type(
|
|
TypeTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
49,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
45,
|
|
),
|
|
hi: BytePos(
|
|
53,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{string}",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
159,
|
|
),
|
|
hi: BytePos(
|
|
168,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
159,
|
|
),
|
|
hi: BytePos(
|
|
159,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
159,
|
|
),
|
|
hi: BytePos(
|
|
163,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
159,
|
|
),
|
|
hi: BytePos(
|
|
163,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "type",
|
|
},
|
|
tag: Type(
|
|
TypeTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
159,
|
|
),
|
|
hi: BytePos(
|
|
163,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
0,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|