Splitting const and use, other minor changes
commit4cf93ae33ea6dd8ab2ae1975f1cbeae1876bfa3f
authorPhillip Shih <philshih@fb.com>
Wed, 26 Jul 2017 16:58:24 +0000 (26 09:58 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 26 Jul 2017 17:17:17 +0000 (26 10:17 -0700)
treede048edfeb2f816d362135f2dba9abec40771c3a
parent9a10956b676b3cb87e542f988a229d773d53f135
Splitting const and use, other minor changes

Summary:
Const is valid after visibility modifiers, while "use" isn't, so this diff differentiates them.
- Added more types of predecessors and containers for future use
- changed use body keywords to be off by default (it's not included in the list of keywords anyways)
- type specifier completions in more locations, still needs more work to verify correctness

Reviewed By: arxanas

Differential Revision: D5455845

fbshipit-source-id: 5f6851762083750b3e217dbfeef72084d7119b67
hphp/hack/src/server/ffpAutocompleteContextParser.ml
hphp/hack/src/server/ffpAutocompleteKeywords.ml