filesbox/web/dist/54419.021cfae9.async.js

2 lines
931 B
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[54419],{54419:function(k,r,u){"use strict";u.r(r),u.d(r,{cmake:function(){return o}});var a=/({)?[a-zA-Z0-9_]+(})?/;function c(n,i){for(var e,t,f=!1;!n.eol()&&(e=n.next())!=i.pending;){if(e==="$"&&t!="\\"&&i.pending=='"'){f=!0;break}t=e}return f&&n.backUp(1),e==i.pending?i.continueString=!1:i.continueString=!0,"string"}function l(n,i){var e=n.next();return e==="$"?n.match(a)?"variableName.special":"variable":i.continueString?(n.backUp(1),c(n,i)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):e=="#"?(n.skipToEnd(),"comment"):e=="'"||e=='"'?(i.pending=e,c(n,i)):e=="("||e==")"?"bracket":e.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null)}const o={name:"cmake",startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(n,i){return n.eatSpace()?null:l(n,i)}}}}]);