Run CST search across the codebase in parallel
commitf5ec8494ebd7f45ee70b96c84d2760736f42a1ba
authorWaleed Khan <waleedk@fb.com>
Wed, 25 Apr 2018 19:58:53 +0000 (25 12:58 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 25 Apr 2018 20:02:53 +0000 (25 13:02 -0700)
tree24151f94477c71f3ade28075a19fbe45aa9ef108
parent2eb299da629475f038138bcca1e180df44727d7c
Run CST search across the codebase in parallel

Summary: Leverage the files that Hack knows about, and its workers, to run a CST search across the codebase in parallel. This is done with `hh --cst-search`, and passing the JSON pattern on stdin.

Differential Revision: D7749773

fbshipit-source-id: c6428e5c66f064e25742f20efe2583ba012af733
hphp/hack/src/client/clientArgs.ml
hphp/hack/src/client/clientCheck.ml
hphp/hack/src/client/clientEnv.ml
hphp/hack/src/server/cstSearchService.ml
hphp/hack/src/server/cstSearchService.mli [new file with mode: 0644]
hphp/hack/src/server/serverCommandTypes.ml
hphp/hack/src/server/serverCommandTypesUtils.ml
hphp/hack/src/server/serverRpc.ml