Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15419953
D12288.id29491.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
681 B
Referenced Files
None
Subscribers
None
D12288.id29491.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
@@ -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
Details
Attached
Mime Type
text/plain
Expires
Mar 22 2025, 10:03 AM (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7578957
Default Alt Text
D12288.id29491.diff (681 B)
Attached To
Mode
D12288: Remove `AASTNodeList::executeSelectDescendantsOfType` method
Attached
Detach File
Event Timeline
Log In to Comment