puppeteer/utils/doclint/check_public_api/test/js-builder-common/result.txt
Andrey Lushnikov 6c9a99477b chore(doclint): support classes inheritance (#935)
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
2017-10-02 13:38:44 -07:00

56 lines
1.1 KiB
Plaintext

{
"classes": [
{
"name": "A",
"members": [
{
"name": "property1",
"type": "property",
"hasReturn": false,
"async": false,
"args": []
},
{
"name": "_property2",
"type": "property",
"hasReturn": false,
"async": false,
"args": []
},
{
"name": "constructor",
"type": "method",
"hasReturn": false,
"async": false,
"args": [
"delegate"
]
},
{
"name": "getter",
"type": "property",
"hasReturn": false,
"async": false,
"args": []
},
{
"name": "method",
"type": "method",
"hasReturn": true,
"async": true,
"args": [
"foo",
"bar"
]
},
{
"name": "anevent",
"type": "event",
"hasReturn": false,
"async": false,
"args": []
}
]
}
]
}