예제 #1
0
 protected function newList(array $nodes)
 {
     return XHPASTNodeList::newFromTreeAndNodes($this->tree, $nodes);
 }
예제 #2
0
 public function selectDescendantsOfType($type_name)
 {
     $type = $this->getTypeIDFromTypeName($type_name);
     return XHPASTNodeList::newFromTreeAndNodes($this->tree, $this->executeSelectDescendantsOfType($this, $type));
 }