I love your parser and am planning to use it in my reporting package.
However while testing I notices a few small things:
select date_format(date, '%d-%m-%Y') from table xxx
the function is shown as 'format' and not as 'date_format'
Also I noticed you do not yet support
select amount/100 from table amounts
The division is not shown in the tree
Keep up the great work!!