MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / string

Function string

static/plugins/codemirror/mode/lua/lua.js:113–123  ·  view source on GitHub ↗
(quote)

Source from the content-addressed store, hash-verified

111 }
112
113 function string(quote) {
114 return function(stream, state) {
115 var escaped = false, ch;
116 while ((ch = stream.next()) != null) {
117 if (ch == quote && !escaped) break;
118 escaped = !escaped && ch == "\\";
119 }
120 if (!escaped) state.cur = normal;
121 return "string";
122 };
123 }
124
125 return {
126 startState: function(basecol) {

Callers 15

PostToWeiXinFunction · 0.85
PostRLYphonecallFunction · 0.85
ZabbixAlertMethod · 0.85
PostHWmessageFunction · 0.85
PostToFeiShuFunction · 0.85
PostToFeiShuv2Function · 0.85
GetAccessTokenFunction · 0.85
PostToFeiShuAppFunction · 0.85
AddRouterMethod · 0.85
GitlabWeixinMethod · 0.85
GitlabDingdingMethod · 0.85
GitlabFeishuMethod · 0.85

Calls

no outgoing calls

Tested by 1

initFunction · 0.68