i'm pretty sure that this can be done with a little hack in parseExpression(): just append 'cast(void)0' to the list of expressions there.
It can be done there, but it would not be 'correct'. The ast should attempt to match the original code as closely as possible, so that differences are minimized in di generation and other things like that.
