mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
6c9a99477b
This patch: - gives meaningful names to doclint tests - supports classes inheritance in documentation linter. When class A extends class B, all methods of class B are added to documentation of class A. This is a prerequisite for Object Handles: ElementHandle will be extending ObjectHandle. References #382
62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
{
|
|
"classes": [
|
|
{
|
|
"name": "A",
|
|
"members": [
|
|
{
|
|
"name": "constructor",
|
|
"type": "method",
|
|
"hasReturn": false,
|
|
"async": false,
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "foo",
|
|
"type": "method",
|
|
"hasReturn": false,
|
|
"async": false,
|
|
"args": [
|
|
"a"
|
|
]
|
|
},
|
|
{
|
|
"name": "bar",
|
|
"type": "method",
|
|
"hasReturn": false,
|
|
"async": false,
|
|
"args": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "B",
|
|
"members": [
|
|
{
|
|
"name": "bar",
|
|
"type": "method",
|
|
"hasReturn": false,
|
|
"async": false,
|
|
"args": [
|
|
"override"
|
|
]
|
|
},
|
|
{
|
|
"name": "foo",
|
|
"type": "event",
|
|
"hasReturn": false,
|
|
"async": false,
|
|
"args": []
|
|
},
|
|
{
|
|
"name": "foo",
|
|
"type": "method",
|
|
"hasReturn": false,
|
|
"async": false,
|
|
"args": [
|
|
"a"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |