mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
**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.
301 lines
8.0 KiB
Plaintext
301 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(
|
|
165,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Child interface.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
155,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
155,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "interface",
|
|
},
|
|
tag: Interface(
|
|
InterfaceTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
155,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
146,
|
|
),
|
|
hi: BytePos(
|
|
169,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "* @extends {Connection}",
|
|
},
|
|
),
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
235,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
272,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Implementation of child interface.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
240,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
240,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "class",
|
|
},
|
|
tag: Class(
|
|
ClassTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
240,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: Some(
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
235,
|
|
),
|
|
hi: BytePos(
|
|
257,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "* @implements {Socket}",
|
|
},
|
|
),
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
346,
|
|
),
|
|
hi: BytePos(
|
|
346,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
346,
|
|
),
|
|
hi: BytePos(
|
|
346,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
346,
|
|
),
|
|
hi: BytePos(
|
|
356,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
346,
|
|
),
|
|
hi: BytePos(
|
|
356,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "inheritdoc",
|
|
},
|
|
tag: InheritDoc(
|
|
InheritDocTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
346,
|
|
),
|
|
hi: BytePos(
|
|
356,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
]
|