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.
76 lines
2.0 KiB
Plaintext
76 lines
2.0 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
99,
|
|
),
|
|
hi: BytePos(
|
|
99,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
99,
|
|
),
|
|
hi: BytePos(
|
|
136,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Create an instance of MyClass.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
99,
|
|
),
|
|
hi: BytePos(
|
|
109,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
99,
|
|
),
|
|
hi: BytePos(
|
|
109,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "constructs",
|
|
},
|
|
tag: Constructs(
|
|
ConstructsTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
99,
|
|
),
|
|
hi: BytePos(
|
|
109,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
0,
|
|
),
|
|
hi: BytePos(
|
|
0,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|