mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +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.
302 lines
8.0 KiB
Plaintext
302 lines
8.0 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
1,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
21,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Parent interface.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
10,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
10,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "interface",
|
|
},
|
|
tag: Interface(
|
|
InterfaceTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
1,
|
|
),
|
|
hi: BytePos(
|
|
10,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
70,
|
|
),
|
|
hi: BytePos(
|
|
70,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
70,
|
|
),
|
|
hi: BytePos(
|
|
90,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Open the connection.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
146,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
161,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Child class.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
151,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
151,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "class",
|
|
},
|
|
tag: Class(
|
|
ClassTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
151,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
172,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "* @implements {Connection}",
|
|
},
|
|
),
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
230,
|
|
),
|
|
hi: BytePos(
|
|
230,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
230,
|
|
),
|
|
hi: BytePos(
|
|
230,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
230,
|
|
),
|
|
hi: BytePos(
|
|
240,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
230,
|
|
),
|
|
hi: BytePos(
|
|
240,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "inheritdoc",
|
|
},
|
|
tag: InheritDoc(
|
|
InheritDocTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
230,
|
|
),
|
|
hi: BytePos(
|
|
240,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
289,
|
|
),
|
|
hi: BytePos(
|
|
289,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
289,
|
|
),
|
|
hi: BytePos(
|
|
317,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Extension of child class.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
289,
|
|
),
|
|
hi: BytePos(
|
|
294,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
289,
|
|
),
|
|
hi: BytePos(
|
|
294,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "class",
|
|
},
|
|
tag: Class(
|
|
ClassTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
289,
|
|
),
|
|
hi: BytePos(
|
|
294,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
289,
|
|
),
|
|
hi: BytePos(
|
|
308,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "* @extends {Socket}",
|
|
},
|
|
),
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|