3 abstract class PhabricatorXHPASTViewPanelController
4 extends PhabricatorXHPASTViewController
{
9 public function shouldAllowPublic() {
13 public function willProcessRequest(array $data) {
14 $this->id
= $data['id'];
15 $this->storageTree
= id(new PhabricatorXHPASTParseTree())
18 if (!$this->storageTree
) {
19 throw new Exception(pht('No such AST!'));
23 protected function getStorageTree() {
24 return $this->storageTree
;
27 protected function buildXHPASTViewPanelResponse($content) {
32 '<style type="text/css">
42 border: 1px solid #bbbbbb;
69 return id(new AphrontWebpageResponse())
71 ->setContent($content);