wollok-1bbd2966.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. import{g as l}from"./index-b2e76ed2.js";function a(o,s){for(var t=0;t<s.length;t++){const n=s[t];if(typeof n!="string"&&!Array.isArray(n)){for(const e in n)if(e!=="default"&&!(e in o)){const p=Object.getOwnPropertyDescriptor(n,e);p&&Object.defineProperty(o,e,p.get?p:{enumerable:!0,get:()=>n[e]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}};(function(o,s){ace.define("ace/snippets/wollok.snippets",["require","exports","module"],function(t,n,e){e.exports=`##
  2. ## Basic Java packages and import
  3. snippet im
  4. import
  5. snippet w.l
  6. wollok.lang
  7. snippet w.i
  8. wollok.lib
  9. ## Class and object
  10. snippet cl
  11. class \${1:\`Filename("", "untitled")\`} \${2}
  12. snippet obj
  13. object \${1:\`Filename("", "untitled")\`} \${2:inherits Parent}\${3}
  14. snippet te
  15. test \${1:\`Filename("", "untitled")\`}
  16. ##
  17. ## Enhancements
  18. snippet inh
  19. inherits
  20. ##
  21. ## Comments
  22. snippet /*
  23. /*
  24. * \${1}
  25. */
  26. ##
  27. ## Control Statements
  28. snippet el
  29. else
  30. snippet if
  31. if (\${1}) \${2}
  32. ##
  33. ## Create a Method
  34. snippet m
  35. method \${1:method}(\${2}) \${5}
  36. ##
  37. ## Tests
  38. snippet as
  39. assert.equals(\${1:expected}, \${2:actual})
  40. ##
  41. ## Exceptions
  42. snippet ca
  43. catch \${1:e} : (\${2:Exception} ) \${3}
  44. snippet thr
  45. throw
  46. snippet try
  47. try {
  48. \${3}
  49. } catch \${1:e} : \${2:Exception} {
  50. }
  51. ##
  52. ## Javadocs
  53. snippet /**
  54. /**
  55. * \${1}
  56. */
  57. ##
  58. ## Print Methods
  59. snippet print
  60. console.println("\${1:Message}")
  61. ##
  62. ## Setter and Getter Methods
  63. snippet set
  64. method set\${1:}(\${2:}) {
  65. $1 = $2
  66. }
  67. snippet get
  68. method get\${1:}() {
  69. return \${1:};
  70. }
  71. ##
  72. ## Terminate Methods or Loops
  73. snippet re
  74. return`}),ace.define("ace/snippets/wollok",["require","exports","module","ace/snippets/wollok.snippets"],function(t,n,e){n.snippetText=t("./wollok.snippets"),n.scope="wollok"}),function(){ace.require(["ace/snippets/wollok"],function(t){o&&(o.exports=t)})}()})(i);var r=i.exports;const c=l(r),u=a({__proto__:null,default:c},[r]);export{u as w};