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(
|
|
44,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Class representing a widget.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
71,
|
|
),
|
|
hi: BytePos(
|
|
71,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
71,
|
|
),
|
|
hi: BytePos(
|
|
121,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Add users who can access the widget.\n *\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
71,
|
|
),
|
|
hi: BytePos(
|
|
76,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
71,
|
|
),
|
|
hi: BytePos(
|
|
76,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "param",
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
71,
|
|
),
|
|
hi: BytePos(
|
|
76,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
71,
|
|
),
|
|
hi: BytePos(
|
|
77,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{User}",
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
71,
|
|
),
|
|
hi: BytePos(
|
|
115,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "users - The users who can access the widget.",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|