示例#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));
 }