antlr4 left right associative code example
Example: assoc-right antlr
exp: exp TIMES exp| // Uses left assoc
<assoc=right> exp TIMES exp | // Uses right assoc
/*epsilon*/;
exp: exp TIMES exp| // Uses left assoc
<assoc=right> exp TIMES exp | // Uses right assoc
/*epsilon*/;