Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14478740
D12288.id29512.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
677 B
Referenced Files
None
Subscribers
None
D12288.id29512.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12288: Remove `AASTNodeList::executeSelectDescendantsOfType` method
Attached
Detach File
Event Timeline
Log In to Comment