externs.js 803 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*!
  2. * Escaper
  3. * https://github.com/kobezzza/Escaper
  4. *
  5. * Released under the MIT license
  6. * https://github.com/kobezzza/Escaper/blob/master/LICENSE
  7. */
  8. /** @const */
  9. var Escaper = {
  10. /** @type {!Array} */
  11. VERSION: [],
  12. /** @type {!Object} */
  13. cache: [],
  14. /** @type {!Array} */
  15. content: [],
  16. /** @type {?string} */
  17. symbols: null,
  18. /** @type {RegExp} */
  19. snakeskinRgxp: null,
  20. /**
  21. * @param {string} str
  22. * @param {(Object<string, boolean>|boolean)=} [opt_withCommentsOrParams]
  23. * @param {Array=} [opt_content]
  24. * @param {?boolean=} [opt_snakeskin]
  25. * @return {string}
  26. */
  27. replace: function (str, opt_withCommentsOrParams, opt_content, opt_snakeskin) {},
  28. /**
  29. * @param {string} str
  30. * @param {Array=} [opt_content]
  31. * @return {string}
  32. */
  33. paste: function (str, opt_content) {}
  34. };