File tree Expand file tree Collapse file tree 6 files changed +114
-4
lines changed Expand file tree Collapse file tree 6 files changed +114
-4
lines changed Original file line number Diff line number Diff line change 20
20
"babel-core" : " ^5.0.0" ,
21
21
"brfs" : " ^1.4.0" ,
22
22
"concat-stream" : " ^1.5.0" ,
23
- "doctrine" : " ^0.7.0 " ,
23
+ "doctrine" : " ^0.7.1 " ,
24
24
"documentation-theme-default" : " ^1.0.0" ,
25
25
"extend" : " ^3.0.0" ,
26
26
"get-comments" : " ^1.0.1" ,
Original file line number Diff line number Diff line change 4
4
* @param {string } address - An IPv6 address string
5
5
* @param {number } [groups=8] - How many octets to parse
6
6
* @param {?number } third - A third argument
7
+ * @param {Array } [foo=[1]] to properly be parsed
7
8
* @example
8
9
* var address = new Address6('2001::/32');
9
10
*/
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Represents an IPv6 address
7
7
- ` address ` ** string** An IPv6 address string
8
8
- ` groups ` ** [ number] ** How many octets to parse (optional, default ` 8 ` )
9
9
- ` third ` ** [ number] ** A third argument
10
+ - ` foo ` ** [ Array] ** to properly be parsed (optional, default ` [1] ` )
10
11
11
12
** Examples**
12
13
Original file line number Diff line number Diff line change 47
47
},
48
48
"name" : " third"
49
49
},
50
+ {
51
+ "title" : " param" ,
52
+ "description" : " to properly be parsed" ,
53
+ "lineNumber" : 6 ,
54
+ "type" : {
55
+ "type" : " OptionalType" ,
56
+ "expression" : {
57
+ "type" : " NameExpression" ,
58
+ "name" : " Array"
59
+ }
60
+ },
61
+ "name" : " foo" ,
62
+ "default" : " [1]"
63
+ },
50
64
{
51
65
"title" : " example" ,
52
66
"description" : " var address = new Address6('2001::/32');" ,
53
- "lineNumber" : 6
67
+ "lineNumber" : 7
54
68
}
55
69
],
56
70
"loc" : {
59
73
"column" : 0
60
74
},
61
75
"end" : {
62
- "line" : 9 ,
76
+ "line" : 10 ,
63
77
"column" : 3
64
78
}
65
79
},
70
84
"column" : 0
71
85
},
72
86
"end" : {
73
- "line" : 10 ,
87
+ "line" : 11 ,
74
88
"column" : 0
75
89
}
76
90
}
117
131
"prefix" : true
118
132
},
119
133
"name" : " third"
134
+ },
135
+ {
136
+ "title" : " param" ,
137
+ "description" : " to properly be parsed" ,
138
+ "lineNumber" : 6 ,
139
+ "type" : {
140
+ "type" : " OptionalType" ,
141
+ "expression" : {
142
+ "type" : " NameExpression" ,
143
+ "name" : " Array"
144
+ }
145
+ },
146
+ "name" : " foo" ,
147
+ "default" : " [1]"
120
148
}
121
149
],
122
150
"examples" : [
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Represents an IPv6 address
7
7
- ` address ` ** string** An IPv6 address string
8
8
- ` groups ` ** [ number] ** How many octets to parse (optional, default ` 8 ` )
9
9
- ` third ` ** [ number] ** A third argument
10
+ - ` foo ` ** [ Array] ** to properly be parsed (optional, default ` [1] ` )
10
11
11
12
** Examples**
12
13
Original file line number Diff line number Diff line change 257
257
]
258
258
}
259
259
]
260
+ },
261
+ {
262
+ "type" : " listItem" ,
263
+ "children" : [
264
+ {
265
+ "type" : " paragraph" ,
266
+ "children" : [
267
+ {
268
+ "type" : " inlineCode" ,
269
+ "value" : " foo"
270
+ },
271
+ {
272
+ "type" : " text" ,
273
+ "value" : " "
274
+ },
275
+ {
276
+ "type" : " strong" ,
277
+ "children" : [
278
+ {
279
+ "type" : " text" ,
280
+ "value" : " [Array]"
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "type" : " text" ,
286
+ "value" : " "
287
+ },
288
+ {
289
+ "type" : " paragraph" ,
290
+ "children" : [
291
+ {
292
+ "type" : " text" ,
293
+ "value" : " to properly be parsed" ,
294
+ "position" : {
295
+ "start" : {
296
+ "line" : 1 ,
297
+ "column" : 1
298
+ },
299
+ "end" : {
300
+ "line" : 1 ,
301
+ "column" : 22
302
+ },
303
+ "indent" : []
304
+ }
305
+ }
306
+ ],
307
+ "position" : {
308
+ "start" : {
309
+ "line" : 1 ,
310
+ "column" : 1
311
+ },
312
+ "end" : {
313
+ "line" : 1 ,
314
+ "column" : 22
315
+ },
316
+ "indent" : []
317
+ }
318
+ },
319
+ {
320
+ "type" : " paragraph" ,
321
+ "children" : [
322
+ {
323
+ "type" : " text" ,
324
+ "value" : " (optional, default "
325
+ },
326
+ {
327
+ "type" : " inlineCode" ,
328
+ "value" : " [1]"
329
+ },
330
+ {
331
+ "type" : " text" ,
332
+ "value" : " )"
333
+ }
334
+ ]
335
+ }
336
+ ]
337
+ }
338
+ ]
260
339
}
261
340
]
262
341
},
You can’t perform that action at this time.
0 commit comments