Add namespace information to sqlite
commita0c91002c57f744acd1907fffe90300bddfc3f46
authorTed Spence <tspence@fb.com>
Thu, 16 May 2019 17:49:55 +0000 (16 10:49 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 16 May 2019 17:54:01 +0000 (16 10:54 -0700)
treeff409283a5b9037941a1254d867c75afbc3279b9
parent5d752a81b1b0424e07e257913503bb364e2d7d4e
Add namespace information to sqlite

Summary:
It's going to become necessary to know what symbols live within which namespaces.

Let's start by keeping a list of known namespaces and add a reference to the namespace name from the symbol.  We'll keep the full namespace in the symbol for now, but we could potentially extract it later and make namespaces fully separate.

Reviewed By: pittsw

Differential Revision: D15339658

fbshipit-source-id: b3f0727d25c4d21481d2b1b52ace6c5a1e9679b1
hphp/hack/src/facts/symbols/sqliteSymbolIndexWriter.ml