mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-16 16:58:38 +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) {
|
public function lintPath($path) {
|
||||||
if (empty($this->trees[$path])) {
|
if (empty($this->trees[$path])) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue