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

151 lines
4.2 KiB
Plaintext

[
JsDoc {
span: Span {
lo: BytePos(
0,
),
hi: BytePos(
35,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
55,
),
ctxt: #0,
},
value: "Give x another name.",
},
tags: [
TagItem {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
40,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
40,
),
ctxt: #0,
},
value: "alias",
},
tag: Alias(
AliasTag {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
40,
),
ctxt: #0,
},
name_path: NamePath {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
59,
),
ctxt: #0,
},
components: [
Text {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
43,
),
ctxt: #0,
},
value: "myObject",
},
],
},
},
),
},
TagItem {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
44,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
44,
),
ctxt: #0,
},
value: "namespace",
},
tag: Namespace(
NamespaceTag {
span: Span {
lo: BytePos(
35,
),
hi: BytePos(
44,
),
ctxt: #0,
},
ty: None,
name: None,
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
133,
),
hi: BytePos(
133,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
133,
),
hi: BytePos(
144,
),
ctxt: #0,
},
value: "document me",
},
tags: [],
},
]