Hi,
In ANTLR2 I was able to change the type of the current AST like this:
additiveExpression
: multiplicativeExpression ((PLUS^|MINUS^)
multiplicativeExpression {#additiveExpression.setType(OPERATOR);})*
;
but I haven't been able to find how to do the same in v3. Any hints?
Cheers,
Dimitrios