1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

Expose XHPAST parse tree down the line to other parsers.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-01-28 15:18:19 -08:00
parent 042081b47f
commit 9affcb0db2

View file

@ -108,6 +108,10 @@ class ArcanistXHPASTLinter extends ArcanistLinter {
}
}
}
public function getXHPASTTreeForPath($path) {
return idx($this->trees, $path);
}
public function lintPath($path) {
if (empty($this->trees[$path])) {