public function withIDs($ids)
array | $ids |
wild |
public function withPHIDs($phids)
array | $phids |
wild |
public function withBookPHIDs($phids)
array | $phids |
wild |
public function withTypes($types)
array | $types |
wild |
public function withNames($names)
array | $names |
wild |
public function withContexts($contexts)
array | $contexts |
wild |
public function withIndexes($indexes)
array | $indexes |
wild |
public function withNodeHashes($hashes)
array | $hashes |
wild |
public function withTitles($titles)
$titles |
wild |
public function withNameContains($text)
$text |
wild |
public function needAtoms($need)
$need |
wild |
public function needChildren($need)
$need |
wild |
public function withGhosts($ghosts)
Include or exclude "ghosts", which are symbols which used to exist but do not exist currently (for example, a function which existed in an older version of the codebase but was deleted).
These symbols had PHIDs assigned to them, and may have other sorts of metadata that we don't want to lose (like comments or flags), so we don't delete them outright. They might also come back in the future: the change which deleted the symbol might be reverted, or the documentation might have been generated incorrectly by accident. In these cases, we can restore the original data.
bool | $ghosts |
this |
public function needExtends($need)
$need |
wild |
public function withIsDocumentable($documentable)
$documentable |
wild |
public function withRepositoryPHIDs($repository_phids)
array | $repository_phids |
wild |
public function needRepositories($need_repositories)
$need_repositories |
wild |
protected function loadPage()
wild |
protected function willFilterPage($atoms)
array | $atoms |
wild |
protected function buildWhereClause($conn)
AphrontDatabaseConnection | $conn |
wild |
private function getAllChildHashes($symbols, $recurse_up)
Walk a list of atoms and collect all the node hashes of the atoms' children. When recursing, also walk up the tree and collect children of atoms they extend.
list<DivinerLiveSymbol> | $symbols | List of symbols to collect child hashes of. |
bool | $recurse_up | True to collect children of extended atoms, as well. |
map<string, string> | Hashes of atoms' children. |
private function attachAllChildren($symbols, $children, $recurse_up)
Attach child atoms to existing atoms. In recursive mode, also attach child atoms to atoms that these atoms extend.
list<DivinerLiveSymbol> | $symbols | List of symbols to attach children to. |
map<string, | $children | DivinerLiveSymbol> Map of symbols, keyed by node hash. |
bool | $recurse_up | True to attach children to extended atoms, as well. |
void |
public function getQueryApplicationClass()
wild |