merge interface and class in parser.g4