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:
parent
042081b47f
commit
9affcb0db2
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ class ArcanistXHPASTLinter extends ArcanistLinter {
|
|||
}
|
||||
}
|
||||
|
||||
public function getXHPASTTreeForPath($path) {
|
||||
return idx($this->trees, $path);
|
||||
}
|
||||
|
||||
public function lintPath($path) {
|
||||
if (empty($this->trees[$path])) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue