grom358/pharborist — pull request #53 by phenaproxima (2014-09-01 02:33:01+00:00)
Title: Created Node::getLogicalBlock().

Here's a convenience method on Node (because it's a convenience method, I didn't bother to add it to NodeInterface) which will return the closest StatementBlockNode or TopNode, which as far as I can tell should cover just about any context which could be a code block (if, elseif, else, do/while, for, case, class, function, top level...did I miss any?)

From issue #15.