Page MenuHomePhabricator

D12288.diff
No OneTemporary

D12288.diff

diff --git a/src/parser/aast/api/AASTNodeList.php b/src/parser/aast/api/AASTNodeList.php
--- a/src/parser/aast/api/AASTNodeList.php
+++ b/src/parser/aast/api/AASTNodeList.php
@@ -58,18 +58,6 @@
return $this;
}
- protected function executeSelectDescendantsOfType($node, $type) {
- $results = array();
- foreach ($node->getChildren() as $id => $child) {
- if ($child->getTypeID() == $type) {
- $results[$id] = $child;
- } else {
- $results += $this->executeSelectDescendantsOfType($child, $type);
- }
- }
- return $results;
- }
-
public function getTokens() {
$tokens = array();
foreach ($this->list as $node) {

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 29, 7:25 AM (9 h, 31 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6941791
Default Alt Text
D12288.diff (677 B)

Event Timeline