Ported to ANTLR 3.5