Files
DocsGPT/extensions/react-widget/dist/assets/groovy-Ds0f1Spv.js
ManishMadan2882 3a6770a1ae preparing build
2024-02-26 21:10:22 +05:30

2 lines
2.0 KiB
JavaScript

import{g as s}from"./index-TA8jW4qE.js";function l(e,n){for(var t=0;t<n.length;t++){const r=n[t];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(r,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function u(e){return e?typeof e=="string"?e:e.source:null}function g(e){return f("(?=",e,")")}function f(...e){return e.map(t=>u(t)).join("")}function i(e,n={}){return n.variants=e,n}function d(e){const n="[A-Za-z0-9_$]+",t=i([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),r={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},a=i([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),o=i([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.SHEBANG({binary:"groovy",relevance:10}),t,o,r,a,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:n+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[t,o,r,a,"self"]},{className:"symbol",begin:"^[ ]*"+g(n+":"),excludeBegin:!0,end:n+":",relevance:0}],illegal:/#|<\//}}var c=d;const E=s(c),_=l({__proto__:null,default:E},[c]);export{_ as g};