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.
330 lines
10 KiB
Plaintext
330 lines
10 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
16,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
59,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Set the list of users who are admins.\n *\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
21,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
21,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "param",
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
21,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
22,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{User}",
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
16,
|
|
),
|
|
hi: BytePos(
|
|
64,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "users - The users who will receive admin rights.",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
167,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
219,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Set the list of users who can access a widget.\n *\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "param",
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
175,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{Widget}",
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
187,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "widget - The widget.",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "param",
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
173,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{User}",
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
167,
|
|
),
|
|
hi: BytePos(
|
|
230,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "users - The users who will receive rights to access the widget.",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
396,
|
|
),
|
|
hi: BytePos(
|
|
396,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
396,
|
|
),
|
|
hi: BytePos(
|
|
441,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Set the list of users who are managers.\n *\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
396,
|
|
),
|
|
hi: BytePos(
|
|
401,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
396,
|
|
),
|
|
hi: BytePos(
|
|
401,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "param",
|
|
},
|
|
tag: Parameter(
|
|
ParameterTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
396,
|
|
),
|
|
hi: BytePos(
|
|
401,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
396,
|
|
),
|
|
hi: BytePos(
|
|
402,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "{User}",
|
|
},
|
|
),
|
|
desc: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
396,
|
|
),
|
|
hi: BytePos(
|
|
431,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "users - The users who are managers.",
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|