/tags/jsdoc_toolkit-1.4.0/test/data/returns.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 27 lines · 7 code · 6 blank · 14 comment · 0 complexity · 2de9007aac1facc70f1953e7d73f8f53 MD5 · raw file

  1. /**
  2. * Process the text.
  3. * @return {Array,
  4. String}
  5. */
  6. function processText(text, processor) {
  7. return processor(text);
  8. }
  9. /**
  10. * @return {null} If there was a problem.
  11. * @return {number} The number of bytes written to disk.
  12. */
  13. function flush(buffer, filepath) {
  14. // do stuff
  15. }
  16. /**
  17. * @returns {Array} Characters from the file.
  18. */
  19. function readText(filepath) {
  20. // do stuff
  21. }