jsp-c7ca940c.js 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. import{g as a}from"./index-d7fba904.js";function $(s,p){for(var n=0;n<p.length;n++){const t=p[n];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in s)){const r=Object.getOwnPropertyDescriptor(t,e);r&&Object.defineProperty(s,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}};(function(s,p){ace.define("ace/snippets/jsp.snippets",["require","exports","module"],function(n,t,e){e.exports=`snippet @page
  2. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  3. snippet jstl
  4. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  5. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
  6. snippet jstl:c
  7. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  8. snippet jstl:fn
  9. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
  10. snippet cpath
  11. \${pageContext.request.contextPath}
  12. snippet cout
  13. <c:out value="\${1}" default="\${2}" />
  14. snippet cset
  15. <c:set var="\${1}" value="\${2}" />
  16. snippet cremove
  17. <c:remove var="\${1}" scope="\${2:page}" />
  18. snippet ccatch
  19. <c:catch var="\${1}" />
  20. snippet cif
  21. <c:if test="\${\${1}}">
  22. \${2}
  23. </c:if>
  24. snippet cchoose
  25. <c:choose>
  26. \${1}
  27. </c:choose>
  28. snippet cwhen
  29. <c:when test="\${\${1}}">
  30. \${2}
  31. </c:when>
  32. snippet cother
  33. <c:otherwise>
  34. \${1}
  35. </c:otherwise>
  36. snippet cfore
  37. <c:forEach items="\${\${1}}" var="\${2}" varStatus="\${3}">
  38. \${4:<c:out value="$2" />}
  39. </c:forEach>
  40. snippet cfort
  41. <c:set var="\${1}">\${2:item1,item2,item3}</c:set>
  42. <c:forTokens var="\${3}" items="\${$1}" delims="\${4:,}">
  43. \${5:<c:out value="$3" />}
  44. </c:forTokens>
  45. snippet cparam
  46. <c:param name="\${1}" value="\${2}" />
  47. snippet cparam+
  48. <c:param name="\${1}" value="\${2}" />
  49. cparam+\${3}
  50. snippet cimport
  51. <c:import url="\${1}" />
  52. snippet cimport+
  53. <c:import url="\${1}">
  54. <c:param name="\${2}" value="\${3}" />
  55. cparam+\${4}
  56. </c:import>
  57. snippet curl
  58. <c:url value="\${1}" var="\${2}" />
  59. <a href="\${$2}">\${3}</a>
  60. snippet curl+
  61. <c:url value="\${1}" var="\${2}">
  62. <c:param name="\${4}" value="\${5}" />
  63. cparam+\${6}
  64. </c:url>
  65. <a href="\${$2}">\${3}</a>
  66. snippet credirect
  67. <c:redirect url="\${1}" />
  68. snippet contains
  69. \${fn:contains(\${1:string}, \${2:substr})}
  70. snippet contains:i
  71. \${fn:containsIgnoreCase(\${1:string}, \${2:substr})}
  72. snippet endswith
  73. \${fn:endsWith(\${1:string}, \${2:suffix})}
  74. snippet escape
  75. \${fn:escapeXml(\${1:string})}
  76. snippet indexof
  77. \${fn:indexOf(\${1:string}, \${2:substr})}
  78. snippet join
  79. \${fn:join(\${1:collection}, \${2:delims})}
  80. snippet length
  81. \${fn:length(\${1:collection_or_string})}
  82. snippet replace
  83. \${fn:replace(\${1:string}, \${2:substr}, \${3:replace})}
  84. snippet split
  85. \${fn:split(\${1:string}, \${2:delims})}
  86. snippet startswith
  87. \${fn:startsWith(\${1:string}, \${2:prefix})}
  88. snippet substr
  89. \${fn:substring(\${1:string}, \${2:begin}, \${3:end})}
  90. snippet substr:a
  91. \${fn:substringAfter(\${1:string}, \${2:substr})}
  92. snippet substr:b
  93. \${fn:substringBefore(\${1:string}, \${2:substr})}
  94. snippet lc
  95. \${fn:toLowerCase(\${1:string})}
  96. snippet uc
  97. \${fn:toUpperCase(\${1:string})}
  98. snippet trim
  99. \${fn:trim(\${1:string})}
  100. `}),ace.define("ace/snippets/jsp",["require","exports","module","ace/snippets/jsp.snippets"],function(n,t,e){t.snippetText=n("./jsp.snippets"),t.scope="jsp"}),function(){ace.require(["ace/snippets/jsp"],function(n){s&&(s.exports=n)})}()})(i);var c=i.exports;const o=a(c),f=$({__proto__:null,default:o},[c]);export{f as j};