mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +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.
100 lines
2.5 KiB
Plaintext
100 lines
2.5 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
74,
|
|
),
|
|
hi: BytePos(
|
|
74,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
74,
|
|
),
|
|
hi: BytePos(
|
|
99,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "My example module.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
74,
|
|
),
|
|
hi: BytePos(
|
|
81,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
74,
|
|
),
|
|
hi: BytePos(
|
|
81,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "exports",
|
|
},
|
|
tag: Exports(
|
|
ExportsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
74,
|
|
),
|
|
hi: BytePos(
|
|
81,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
module_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
74,
|
|
),
|
|
hi: BytePos(
|
|
87,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "exampleModule",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
171,
|
|
),
|
|
hi: BytePos(
|
|
171,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
171,
|
|
),
|
|
hi: BytePos(
|
|
189,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "My example method.",
|
|
},
|
|
tags: [],
|
|
},
|
|
]
|