def exitRule(self, listener: ParseTreeListener):
    if hasattr(listener, 'exitArith_op'):
        listener.exitArith_op(self)
def exitRule(self, listener: ParseTreeListener):
    if hasattr(listener, 'exitArith_op'):
        listener.exitArith_op(self)