Page MenuHomePhabricator

D12288.id29491.diff
No OneTemporary

D12288.id29491.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
@@ -107,19 +107,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
Tue, May 6, 7:55 PM (1 h, 32 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7578957
Default Alt Text
D12288.id29491.diff (681 B)

Event Timeline