hello all: In my rule, I have a function named "Between".
It has more than one parameters, the first is compare value, the next two define a range, and next two next range, and so on. if only one parameter left, it means the range has no upper limit. such as: Between(a, 1, 20, 25, 30), it means (a>1 and a<20) or (a >25 and a<30) Between(a, 1, 20, 25) it means (a>1 and a<20) or (a >25) I wonder how to describe it in rules, and how to describe it in Tree grammar, and how to build an AST tree, and how to deal it in tree walker. thanks for your help. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.