mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +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.
236 lines
6.6 KiB
Plaintext
236 lines
6.6 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
16,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
16,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
22,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
22,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "module",
|
|
},
|
|
tag: Module(
|
|
ModuleTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
22,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
0,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
ty: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
23,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "example",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
40,
|
|
),
|
|
hi: BytePos(
|
|
49,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
40,
|
|
),
|
|
hi: BytePos(
|
|
59,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "An ES6 class.\n *\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
40,
|
|
),
|
|
hi: BytePos(
|
|
45,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
40,
|
|
),
|
|
hi: BytePos(
|
|
45,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "alias",
|
|
},
|
|
tag: Alias(
|
|
AliasTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
40,
|
|
),
|
|
hi: BytePos(
|
|
45,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name_path: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
40,
|
|
),
|
|
hi: BytePos(
|
|
49,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
40,
|
|
),
|
|
hi: BytePos(
|
|
46,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "module",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
133,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
133,
|
|
),
|
|
hi: BytePos(
|
|
167,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "My property.\n *\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
133,
|
|
),
|
|
hi: BytePos(
|
|
142,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
133,
|
|
),
|
|
hi: BytePos(
|
|
142,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "protected",
|
|
},
|
|
tag: Protected(
|
|
ProtectedTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
133,
|
|
),
|
|
hi: BytePos(
|
|
142,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|