mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32: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
|
@ -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])) {
|
||||
|
|
Loading…
Reference in a new issue