swc/crates/jsdoc/tests/fixtures/defaultparams2.debug
Donny/강동윤 84cec8766d
refactor(atoms): Remove usage of js_word! to drop string-cache (#7976)
**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.
2023-10-08 00:39:51 +00:00

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.",
},
},
),
},
],
},
]