Commit 4c73ab4
tools,doc: fix json for grouped optional params
Current tools/doc/json.js only supports one bracket style for optional
params methodName(param0[,param1],param2). Add support to other styles
such as methodName(param0,[param1,]param2) or
methodName(param0[,param1,param2]) or
methodName(param0[,param1[,param2]]).
PR-URL: #5977
Fixes: #5976
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>1 parent 3d4d577 commit 4c73ab4Copy full SHA for 4c73ab4
File tree
Expand file treeCollapse file tree
1 file changed
+16
-7
lines changedOpen diff view settings
Filter options
- tools/doc
Expand file treeCollapse file tree
1 file changed
+16
-7
lines changedOpen diff view settings
Collapse file
+16-7Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
280 | 280 | |
281 | 281 | |
282 | 282 | |
283 | | - |
284 | | - |
285 | 283 | |
| 284 | + |
| 285 | + |
286 | 286 | |
287 | 287 | |
288 | 288 | |
289 | 289 | |
290 | 290 | |
291 | 291 | |
292 | | - |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
297 | 304 | |
| 305 | + |
| 306 | + |
298 | 307 | |
299 | 308 | |
300 | 309 | |
|
0 commit comments