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.
310 lines
7.6 KiB
Plaintext
310 lines
7.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(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "module",
|
|
},
|
|
tag: Module(
|
|
ModuleTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
7,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "module",
|
|
},
|
|
ty: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
3,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "my",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
43,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
43,
|
|
),
|
|
hi: BytePos(
|
|
57,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "document fooIn",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
90,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
90,
|
|
),
|
|
hi: BytePos(
|
|
90,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
90,
|
|
),
|
|
hi: BytePos(
|
|
99,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
90,
|
|
),
|
|
hi: BytePos(
|
|
99,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "namespace",
|
|
},
|
|
tag: Namespace(
|
|
NamespaceTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
90,
|
|
),
|
|
hi: BytePos(
|
|
99,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: None,
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
120,
|
|
),
|
|
hi: BytePos(
|
|
120,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
120,
|
|
),
|
|
hi: BytePos(
|
|
136,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "document bar.Zop",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
175,
|
|
),
|
|
hi: BytePos(
|
|
175,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
175,
|
|
),
|
|
hi: BytePos(
|
|
175,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
175,
|
|
),
|
|
hi: BytePos(
|
|
186,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
175,
|
|
),
|
|
hi: BytePos(
|
|
186,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "constructor",
|
|
},
|
|
tag: Class(
|
|
ClassTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
175,
|
|
),
|
|
hi: BytePos(
|
|
186,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: None,
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
228,
|
|
),
|
|
hi: BytePos(
|
|
228,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
228,
|
|
),
|
|
hi: BytePos(
|
|
255,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "document exports.Frotz#quaz",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
293,
|
|
),
|
|
hi: BytePos(
|
|
293,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
293,
|
|
),
|
|
hi: BytePos(
|
|
308,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "document fooOut",
|
|
},
|
|
tags: [],
|
|
},
|
|
]
|