Files
swc/crates/jsdoc/tests/fixtures/moduleisconstructor.debug

120 lines
3.3 KiB
Plaintext

[
JsDoc {
span: 1..1,
description: Text {
span: 1..29,
value: "Describe the module here.\n *",
},
tags: [
TagItem {
span: 1..7,
tag_name: Text {
span: 1..7,
value: "module",
},
tag: Module(
ModuleTag {
span: 1..7,
name: Text {
span: 1..7,
value: "config",
},
ty: Text {
span: 1..9,
value: "mymodule",
},
},
),
},
],
},
JsDoc {
span: 66..66,
description: Text {
span: 66..99,
value: "Create a new configuration.\n *\n *",
},
tags: [
TagItem {
span: 66..75,
tag_name: Text {
span: 66..75,
value: "classdesc",
},
tag: ClassDesc(
JSDocClassDescTag {
span: 66..75,
desc: Text {
span: 66..90,
value: "Describe the class here.",
},
},
),
},
TagItem {
span: 66..71,
tag_name: Text {
span: 66..71,
value: "class",
},
tag: Class(
ClassTag {
span: 66..71,
ty: Some(
Text {
span: 66..97,
value: "* @alias module:mymodule/config",
},
),
name: Some(
Text {
span: 66..86,
value: "* @param {string} id",
},
),
},
),
},
],
},
JsDoc {
span: 237..237,
description: Text {
span: 237..249,
value: "Document me.",
},
tags: [],
},
JsDoc {
span: 277..277,
description: Text {
span: 277..308,
value: "Get the configuration ID.\n *\n *",
},
tags: [
TagItem {
span: 277..283,
tag_name: Text {
span: 277..283,
value: "return",
},
tag: Return(
ReturnTag {
span: 277..283,
ty: Some(
Text {
span: 277..285,
value: "{string}",
},
),
description: Text {
span: 277..298,
value: "The configuration ID.",
},
},
),
},
],
},
]