swc/crates/jsdoc/tests/fixtures/anonymousclass.debug
Donny/강동윤 84cec8766d
refactor(atoms): Remove usage of js_word! to drop string-cache (#7976)
**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.
2023-10-08 00:39:51 +00:00

272 lines
7.0 KiB
Plaintext

[
JsDoc {
span: Span {
lo: BytePos(
1,
),
hi: BytePos(
1,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
1,
),
hi: BytePos(
1,
),
ctxt: #0,
},
value: "",
},
tags: [
TagItem {
span: Span {
lo: BytePos(
1,
),
hi: BytePos(
7,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
1,
),
hi: BytePos(
7,
),
ctxt: #0,
},
value: "module",
},
tag: Module(
ModuleTag {
span: Span {
lo: BytePos(
1,
),
hi: BytePos(
7,
),
ctxt: #0,
},
name: Text {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
0,
),
ctxt: #0,
},
value: "",
},
ty: Text {
span: Span {
lo: BytePos(
1,
),
hi: BytePos(
5,
),
ctxt: #0,
},
value: "test",
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
22,
),
hi: BytePos(
22,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
22,
),
hi: BytePos(
32,
),
ctxt: #0,
},
value: "Test class",
},
tags: [],
},
JsDoc {
span: Span {
lo: BytePos(
67,
),
hi: BytePos(
67,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
67,
),
hi: BytePos(
90,
),
ctxt: #0,
},
value: "Test constructor\n *",
},
tags: [
TagItem {
span: Span {
lo: BytePos(
67,
),
hi: BytePos(
72,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
67,
),
hi: BytePos(
72,
),
ctxt: #0,
},
value: "param",
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
67,
),
hi: BytePos(
72,
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
67,
),
hi: BytePos(
75,
),
ctxt: #0,
},
value: "{string}",
},
),
desc: Text {
span: Span {
lo: BytePos(
67,
),
hi: BytePos(
90,
),
ctxt: #0,
},
value: "foo - The foo parameter",
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
181,
),
hi: BytePos(
181,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
181,
),
hi: BytePos(
192,
),
ctxt: #0,
},
value: "Test member",
},
tags: [],
},
JsDoc {
span: Span {
lo: BytePos(
235,
),
hi: BytePos(
235,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
235,
),
hi: BytePos(
246,
),
ctxt: #0,
},
value: "Test method",
},
tags: [],
},
JsDoc {
span: Span {
lo: BytePos(
273,
),
hi: BytePos(
273,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
273,
),
hi: BytePos(
291,
),
ctxt: #0,
},
value: "Test static method",
},
tags: [],
},
]