@@ -5204,65 +5204,6 @@ Object {
5204
5204
5205
5205
exports[`outputs document-exported.input.js JSON 1`] = `
5206
5206
Array [
5207
- Object {
5208
- "augments": Array [],
5209
- "context": Object {
5210
- "loc": Object {
5211
- "end": Object {
5212
- "column": 28,
5213
- "line": 1,
5214
- },
5215
- "start": Object {
5216
- "column": 0,
5217
- "line": 1,
5218
- },
5219
- },
5220
- },
5221
- "description": "",
5222
- "errors": Array [],
5223
- "examples": Array [],
5224
- "implements": Array [],
5225
- "kind": "function",
5226
- "loc": Object {
5227
- "end": Object {
5228
- "column": 28,
5229
- "line": 1,
5230
- },
5231
- "start": Object {
5232
- "column": 0,
5233
- "line": 1,
5234
- },
5235
- },
5236
- "members": Object {
5237
- "events": Array [],
5238
- "global": Array [],
5239
- "inner": Array [],
5240
- "instance": Array [],
5241
- "static": Array [],
5242
- },
5243
- "name": "x",
5244
- "namespace": "x",
5245
- "params": Array [
5246
- Object {
5247
- "lineNumber": 1,
5248
- "name": "yparam",
5249
- "title": "param",
5250
- },
5251
- ],
5252
- "path": Array [
5253
- Object {
5254
- "kind": "function",
5255
- "name": "x",
5256
- },
5257
- ],
5258
- "properties": Array [],
5259
- "returns": Array [],
5260
- "sees": Array [],
5261
- "tags": Array [],
5262
- "throws": Array [],
5263
- "todos": Array [],
5264
- "yields": Array [],
5265
- },
5266
5207
Object {
5267
5208
"augments": Array [],
5268
5209
"context": Object {
@@ -5377,6 +5318,65 @@ Array [
5377
5318
"todos": Array [],
5378
5319
"yields": Array [],
5379
5320
},
5321
+ Object {
5322
+ "augments": Array [],
5323
+ "context": Object {
5324
+ "loc": Object {
5325
+ "end": Object {
5326
+ "column": 28,
5327
+ "line": 1,
5328
+ },
5329
+ "start": Object {
5330
+ "column": 0,
5331
+ "line": 1,
5332
+ },
5333
+ },
5334
+ },
5335
+ "description": "",
5336
+ "errors": Array [],
5337
+ "examples": Array [],
5338
+ "implements": Array [],
5339
+ "kind": "function",
5340
+ "loc": Object {
5341
+ "end": Object {
5342
+ "column": 28,
5343
+ "line": 1,
5344
+ },
5345
+ "start": Object {
5346
+ "column": 0,
5347
+ "line": 1,
5348
+ },
5349
+ },
5350
+ "members": Object {
5351
+ "events": Array [],
5352
+ "global": Array [],
5353
+ "inner": Array [],
5354
+ "instance": Array [],
5355
+ "static": Array [],
5356
+ },
5357
+ "name": "x",
5358
+ "namespace": "x",
5359
+ "params": Array [
5360
+ Object {
5361
+ "lineNumber": 1,
5362
+ "name": "yparam",
5363
+ "title": "param",
5364
+ },
5365
+ ],
5366
+ "path": Array [
5367
+ Object {
5368
+ "kind": "function",
5369
+ "name": "x",
5370
+ },
5371
+ ],
5372
+ "properties": Array [],
5373
+ "returns": Array [],
5374
+ "sees": Array [],
5375
+ "tags": Array [],
5376
+ "throws": Array [],
5377
+ "todos": Array [],
5378
+ "yields": Array [],
5379
+ },
5380
5380
Object {
5381
5381
"augments": Array [],
5382
5382
"context": Object {
@@ -7078,10 +7078,10 @@ exports[`outputs document-exported.input.js markdown 1`] = `
7078
7078
7079
7079
### Table of Contents
7080
7080
7081
- - [x ][1]
7082
- - [Parameters ][2]
7083
- - [z ][3]
7084
- - [zMethod ][4]
7081
+ - [z ][1]
7082
+ - [zMethod ][2]
7083
+ - [x ][3]
7084
+ - [Parameters ][4]
7085
7085
- [Class][5]
7086
7086
- [Parameters][6]
7087
7087
- [classMethod][7]
@@ -7117,16 +7117,16 @@ exports[`outputs document-exported.input.js markdown 1`] = `
7117
7117
- [o2][37]
7118
7118
- [om2][38]
7119
7119
7120
+ ## z
7121
+
7122
+ ### zMethod
7123
+
7120
7124
## x
7121
7125
7122
7126
### Parameters
7123
7127
7124
7128
- \`yparam\`
7125
7129
7126
- ## z
7127
-
7128
- ### zMethod
7129
-
7130
7130
## Class
7131
7131
7132
7132
### Parameters
@@ -7223,13 +7223,13 @@ f5 comment
7223
7223
7224
7224
### om2
7225
7225
7226
- [1]: #x
7226
+ [1]: #z
7227
7227
7228
- [2]: #parameters
7228
+ [2]: #zmethod
7229
7229
7230
- [3]: #z
7230
+ [3]: #x
7231
7231
7232
- [4]: #zmethod
7232
+ [4]: #parameters
7233
7233
7234
7234
[5]: #class
7235
7235
@@ -7314,6 +7314,26 @@ Object {
7314
7314
"type": "html",
7315
7315
"value": "<!-- Generated by documentation.js. Update this documentation by updating the source code. -->",
7316
7316
},
7317
+ Object {
7318
+ "children": Array [
7319
+ Object {
7320
+ "type": "text",
7321
+ "value": "z",
7322
+ },
7323
+ ],
7324
+ "depth": 2,
7325
+ "type": "heading",
7326
+ },
7327
+ Object {
7328
+ "children": Array [
7329
+ Object {
7330
+ "type": "text",
7331
+ "value": "zMethod",
7332
+ },
7333
+ ],
7334
+ "depth": 3,
7335
+ "type": "heading",
7336
+ },
7317
7337
Object {
7318
7338
"children": Array [
7319
7339
Object {
@@ -7362,26 +7382,6 @@ Object {
7362
7382
"ordered": false,
7363
7383
"type": "list",
7364
7384
},
7365
- Object {
7366
- "children": Array [
7367
- Object {
7368
- "type": "text",
7369
- "value": "z",
7370
- },
7371
- ],
7372
- "depth": 2,
7373
- "type": "heading",
7374
- },
7375
- Object {
7376
- "children": Array [
7377
- Object {
7378
- "type": "text",
7379
- "value": "zMethod",
7380
- },
7381
- ],
7382
- "depth": 3,
7383
- "type": "heading",
7384
- },
7385
7385
Object {
7386
7386
"children": Array [
7387
7387
Object {
@@ -32151,30 +32151,6 @@ Array [
32151
32151
"tags": Array [],
32152
32152
"throws": Array [],
32153
32153
"todos": Array [],
32154
- "type": Object {
32155
- "fields": Array [
32156
- Object {
32157
- "key": "opt",
32158
- "type": "FieldType",
32159
- "value": Object {
32160
- "expression": Object {
32161
- "name": "number",
32162
- "type": "NameExpression",
32163
- },
32164
- "type": "OptionalType",
32165
- },
32166
- },
32167
- Object {
32168
- "key": "req",
32169
- "type": "FieldType",
32170
- "value": Object {
32171
- "name": "string",
32172
- "type": "NameExpression",
32173
- },
32174
- },
32175
- ],
32176
- "type": "RecordType",
32177
- },
32178
32154
"yields": Array [],
32179
32155
},
32180
32156
]
@@ -32190,8 +32166,6 @@ exports[`outputs optional-record-field-type.input.js markdown 1`] = `
32190
32166
32191
32167
## Record
32192
32168
32193
- Type: {opt: [number][3]?, req: [string][4]}
32194
-
32195
32169
### Properties
32196
32170
32197
32171
- \`opt\` **[number][3]?**
@@ -32224,61 +32198,6 @@ Object {
32224
32198
"depth": 2,
32225
32199
"type": "heading",
32226
32200
},
32227
- Object {
32228
- "children": Array [
32229
- Object {
32230
- "type": "text",
32231
- "value": "Type: ",
32232
- },
32233
- Object {
32234
- "type": "text",
32235
- "value": "{",
32236
- },
32237
- Object {
32238
- "type": "text",
32239
- "value": "opt: ",
32240
- },
32241
- Object {
32242
- "children": Array [
32243
- Object {
32244
- "type": "text",
32245
- "value": "number",
32246
- },
32247
- ],
32248
- "identifier": "1",
32249
- "referenceType": "full",
32250
- "type": "linkReference",
32251
- },
32252
- Object {
32253
- "type": "text",
32254
- "value": "?",
32255
- },
32256
- Object {
32257
- "type": "text",
32258
- "value": ", ",
32259
- },
32260
- Object {
32261
- "type": "text",
32262
- "value": "req: ",
32263
- },
32264
- Object {
32265
- "children": Array [
32266
- Object {
32267
- "type": "text",
32268
- "value": "string",
32269
- },
32270
- ],
32271
- "identifier": "2",
32272
- "referenceType": "full",
32273
- "type": "linkReference",
32274
- },
32275
- Object {
32276
- "type": "text",
32277
- "value": "}",
32278
- },
32279
- ],
32280
- "type": "paragraph",
32281
- },
32282
32201
Object {
32283
32202
"children": Array [
32284
32203
Object {
0 commit comments