Add support for namespace aliases
commit756e6f2ad1c8a740de90ab919c63dd23a2dab925
authorTed Spence <tspence@fb.com>
Fri, 7 Jun 2019 13:49:27 +0000 (7 06:49 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 7 Jun 2019 14:00:11 +0000 (7 07:00 -0700)
tree92f60d415d8c16aac667c47d080d799dd2a7b5c2
parent2a7138ac2b6cf57fb461b062c2074215cb207b53
Add support for namespace aliases

Summary:
The namespace map system should support aliases that are configurable through .hhconfig.

An aliased namespace such as "Str\" might be a shortcut for "HH\Lib\Str\".

This is represented as a "shortcut" within the tree structure of namespaces.

This feature is not yet enabled for usage; that will follow later in this diffstack.

Reviewed By: pittsw

Differential Revision: D15696171

fbshipit-source-id: c6d1eb36278a9fa949b1b78c3ca51a3751cb3a6f
hphp/hack/src/search/namespaceSearchService.ml