doctrine/doctrine2 — pull request #471 by chives (2012-10-11 13:31:41+00:00)
Title: Extended TreeWalker interface with getQueryComponents() and setQueryComponent() which are used by the Parser class

Another proposed solution for http://www.doctrine-project.org/jira/browse/DDC-2052 . The one that @beberlei introduced did not solve the problem that modifying query in a custom tree walker throws an exception from SqlWalker.