show documentation on hover for enum class and atom/label
Summary:
Show the enum class's documentation when hovering over the enum class name and atom/label. E.g.
```
/**
* My Foo docs
*/
enum class Foo : int {
int LabelA = 12;
...
}
...
some_func#LabelA();
```
Hovering over `Foo` or `LabelA` will give "My Foo docs".
The one-line change builds on top of work done in
D27406896 (https://github.com/facebook/hhvm/commit/
9082ec5de3e34bdaf9663a0638513a7981e72c8a) and simply lets us find the right node in the FFP (CST) when finding docblocks.
Reviewed By: vsiles
Differential Revision:
D27632357
fbshipit-source-id:
5ed5aa9d871d5668bb0e53dd6accdd91978930db