UNPKG

stylus

Version:

Robust, expressive, and feature-rich CSS superset

51 lines (42 loc) 736 B
/** * Module dependencies. */ module.exports = class NullCache { /** * Set cache item with given `key` to `value`. * * @param {String} key * @param {Object} value * @api private */ set(key, value) { }; /** * Get cache item with given `key`. * * @param {String} key * @return {Object} * @api private */ get(key) { }; /** * Check if cache has given `key`. * * @param {String} key * @return {Boolean} * @api private */ has(key) { return false; }; /** * Generate key for the source `str` with `options`. * * @param {String} str * @param {Object} options * @return {String} * @api private */ key(str, options) { return ''; }; }