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.
199 lines
5.2 KiB
Plaintext
199 lines
5.2 KiB
Plaintext
[
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
20,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
53,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Creates a new test object.\n *",
|
|
},
|
|
tags: [
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
25,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
25,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "alias",
|
|
},
|
|
tag: Alias(
|
|
AliasTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
25,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
name_path: NamePath {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
45,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
components: [
|
|
Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
24,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Test",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
),
|
|
},
|
|
TagItem {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
31,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
tag_name: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
31,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "constructor",
|
|
},
|
|
tag: Class(
|
|
ClassTag {
|
|
span: Span {
|
|
lo: BytePos(
|
|
20,
|
|
),
|
|
hi: BytePos(
|
|
31,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
ty: None,
|
|
name: None,
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
149,
|
|
),
|
|
hi: BytePos(
|
|
149,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
149,
|
|
),
|
|
hi: BytePos(
|
|
161,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Document me.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
210,
|
|
),
|
|
hi: BytePos(
|
|
210,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
210,
|
|
),
|
|
hi: BytePos(
|
|
222,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Document me.",
|
|
},
|
|
tags: [],
|
|
},
|
|
JsDoc {
|
|
span: Span {
|
|
lo: BytePos(
|
|
287,
|
|
),
|
|
hi: BytePos(
|
|
287,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
description: Text {
|
|
span: Span {
|
|
lo: BytePos(
|
|
287,
|
|
),
|
|
hi: BytePos(
|
|
299,
|
|
),
|
|
ctxt: #0,
|
|
},
|
|
value: "Document me.",
|
|
},
|
|
tags: [],
|
|
},
|
|
]
|