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.
115 lines
3.2 KiB
Plaintext
115 lines
3.2 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
16,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
50,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Class representing pizza toppings.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
84,
|
|
),
|
|
hi: BytePos(
|
|
84,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
84,
|
|
),
|
|
hi: BytePos(
|
|
147,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Set whether sardines are included in the pizza toppings.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
84,
|
|
),
|
|
hi: BytePos(
|
|
89,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
84,
|
|
),
|
|
hi: BytePos(
|
|
89,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "param",
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
84,
|
|
),
|
|
hi: BytePos(
|
|
89,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
84,
|
|
),
|
|
hi: BytePos(
|
|
93,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{boolean}",
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
84,
|
|
),
|
|
hi: BytePos(
|
|
140,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "[bool] `true` to include sardines, `false` to omit them.",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|