swc/crates/jsdoc/tests/fixtures/aliasglobal2.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

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: [],
},
]