drools.js 456 B

1234567891011121314151617181920212223242526
  1. ace.define("ace/snippets/drools",["require","exports","module"], function(require, exports, module) {
  2. "use strict";
  3. exports.snippetText = "\n\
  4. snippet rule\n\
  5. rule \"${1?:rule_name}\"\n\
  6. when\n\
  7. ${2:// when...} \n\
  8. then\n\
  9. ${3:// then...}\n\
  10. end\n\
  11. \n\
  12. snippet query\n\
  13. query ${1?:query_name}\n\
  14. ${2:// find} \n\
  15. end\n\
  16. \n\
  17. snippet declare\n\
  18. declare ${1?:type_name}\n\
  19. ${2:// attributes} \n\
  20. end\n\
  21. \n\
  22. ";
  23. exports.scope = "drools";
  24. });