plugin-for-testing-debug-check.js 404 B

1234567891011121314151617181920212223
  1. "use strict";
  2. module.exports = {
  3. languages: [
  4. {
  5. name: "debug-check",
  6. parsers: ["debug-check-parser"],
  7. extensions: [".debug-check"]
  8. }
  9. ],
  10. parsers: {
  11. "debug-check-parser": {
  12. parse: text => ({ text }),
  13. astFormat: "debug-check-ast"
  14. }
  15. },
  16. printers: {
  17. "debug-check-ast": {
  18. print: path => path.getValue().text + path.getValue().text
  19. }
  20. }
  21. };