grom358/pharborist — pull request #161 by phenaproxima (2014-10-17 03:26:14+00:00)
Title: ArrayLookupNode::getRoot()

This method will return the root of an array lookup. So given an expression like $field['und'][0]['value'], getRoot() will return a VariableNode for $field. Tests included.