Page MenuHomePhabricator

D12288.id29512.diff
No OneTemporary

D12288.id29512.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, 9:48 PM (7 h, 43 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6941791
Default Alt Text
D12288.id29512.diff (677 B)

Event Timeline