xquery-b11781ae.js 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import{g as $}from"./index-d7fba904.js";function o(t,p){for(var n=0;n<p.length;n++){const e=p[n];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}};(function(t,p){ace.define("ace/snippets/xquery.snippets",["require","exports","module"],function(n,e,r){r.exports=`snippet for
  2. for $\${1:item} in \${2:expr}
  3. snippet return
  4. return \${1:expr}
  5. snippet import
  6. import module namespace \${1:ns} = "\${2:http://www.example.com/}";
  7. snippet some
  8. some $\${1:varname} in \${2:expr} satisfies \${3:expr}
  9. snippet every
  10. every $\${1:varname} in \${2:expr} satisfies \${3:expr}
  11. snippet if
  12. if(\${1:true}) then \${2:expr} else \${3:true}
  13. snippet switch
  14. switch(\${1:"foo"})
  15. case \${2:"foo"}
  16. return \${3:true}
  17. default return \${4:false}
  18. snippet try
  19. try { \${1:expr} } catch \${2:*} { \${3:expr} }
  20. snippet tumbling
  21. for tumbling window $\${1:varname} in \${2:expr}
  22. start at $\${3:start} when \${4:expr}
  23. end at $\${5:end} when \${6:expr}
  24. return \${7:expr}
  25. snippet sliding
  26. for sliding window $\${1:varname} in \${2:expr}
  27. start at $\${3:start} when \${4:expr}
  28. end at $\${5:end} when \${6:expr}
  29. return \${7:expr}
  30. snippet let
  31. let $\${1:varname} := \${2:expr}
  32. snippet group
  33. group by $\${1:varname} := \${2:expr}
  34. snippet order
  35. order by \${1:expr} \${2:descending}
  36. snippet stable
  37. stable order by \${1:expr}
  38. snippet count
  39. count $\${1:varname}
  40. snippet ordered
  41. ordered { \${1:expr} }
  42. snippet unordered
  43. unordered { \${1:expr} }
  44. snippet treat
  45. treat as \${1:expr}
  46. snippet castable
  47. castable as \${1:atomicType}
  48. snippet cast
  49. cast as \${1:atomicType}
  50. snippet typeswitch
  51. typeswitch(\${1:expr})
  52. case \${2:type} return \${3:expr}
  53. default return \${4:expr}
  54. snippet var
  55. declare variable $\${1:varname} := \${2:expr};
  56. snippet fn
  57. declare function \${1:ns}:\${2:name}(){
  58. \${3:expr}
  59. };
  60. snippet module
  61. module namespace \${1:ns} = "\${2:http://www.example.com}";
  62. `}),ace.define("ace/snippets/xquery",["require","exports","module","ace/snippets/xquery.snippets"],function(n,e,r){e.snippetText=n("./xquery.snippets"),e.scope="xquery"}),function(){ace.require(["ace/snippets/xquery"],function(n){t&&(t.exports=n)})}()})(i);var a=i.exports;const u=$(a),c=o({__proto__:null,default:u},[a]);export{c as x};