grom358 / pharborist

A PHP library to query and transform source code via tree operations.
GNU General Public License v3.0
44 stars 10 forks source link

Add furthest() traversal method #187

Closed phenaproxima closed 10 years ago

phenaproxima commented 10 years ago

furthest() is essentially the inverse of closest(), in the sense that rather than stopping at the first parent matched by the filter, it stops at the last. This would be highly useful to solve a little problem I'm having in DMU.

Self-assigning.

grom358 commented 10 years ago

Added to master