swc/crates/jsdoc/tests/fixtures/defaultparams.debug

938 lines
29 KiB
Plaintext
Raw Normal View History

2020-08-14 12:20:25 +03:00
[
JsDoc {
span: Span {
lo: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
158,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set the user's first name.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
131,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
131,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
131,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
134,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
126,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
160,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('firstName - The user's first name.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
300,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set the user's last name.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
274,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
274,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
274,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
277,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
269,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
309,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('[lastName=Braun] - The user's last name.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
465,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set the user's first, middle, and last names.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
419,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
419,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
419,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
422,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
414,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
448,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('firstName - The user's first name.' type=dynamic),
},
},
),
},
2020-09-11 06:52:57 +03:00
TagItem {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
419,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
419,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-09-11 06:52:57 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
419,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
422,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
450,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('middleName - The user's middle name.' type=dynamic),
},
},
),
},
TagItem {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
419,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
419,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-09-11 06:52:57 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
419,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
422,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
414,
2020-09-11 06:52:57 +03:00
),
hi: BytePos(
446,
2020-09-11 06:52:57 +03:00
),
ctxt: #0,
},
value: Atom('lastName - The user's last name.' type=dynamic),
},
},
),
},
2020-08-14 12:20:25 +03:00
],
},
JsDoc {
span: Span {
lo: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
741,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set the user's manager.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
717,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
717,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
717,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
721,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{Manager}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
712,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
734,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('manager - The manager.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
878,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set whether the user is currently active.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
836,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
836,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
836,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
840,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{boolean}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
831,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
886,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('isActive - Set to `true` if active; otherwise, `false`.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1050,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set the year in which the employee was born.
2020-08-14 12:20:25 +03:00
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1008,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1008,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1008,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1011,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{number}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
1003,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1036,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('year - The four-digit birth year.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1229,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set the name of the user's dog. At this time, only one dog is supported.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1156,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1156,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1156,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1159,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{string}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
1151,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1188,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('dogName - The name of the user's dog.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1378,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set the user's favorite pizza toppings.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1338,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1338,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1338,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1348,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{PizzaToppings}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
1333,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1373,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('toppings - The user's favorite toppings.' type=dynamic),
},
},
),
},
],
},
JsDoc {
span: Span {
lo: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1557,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
2020-09-11 06:52:57 +03:00
value: Atom('Set whether the user is a ninja.
2020-08-14 12:20:25 +03:00
*
*' type=dynamic),
},
tags: [
TagItem {
span: Span {
lo: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1524,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1524,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('param' type=static),
2020-08-14 12:20:25 +03:00
},
tag: Parameter(
ParameterTag {
span: Span {
lo: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1524,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
name: None,
ty: Some(
Text {
span: Span {
lo: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1528,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('{boolean}' type=dynamic),
},
),
desc: Text {
span: Span {
lo: BytePos(
1519,
2020-08-14 12:20:25 +03:00
),
hi: BytePos(
1586,
2020-08-14 12:20:25 +03:00
),
ctxt: #0,
},
value: Atom('isNinja - Set to `true` if the user is a ninja; otherwise, `false`.' type=dynamic),
},
},
),
},
],
},
]