MCPcopy Create free account
hub / github.com/gogs/gogs / string

Function string

public/plugins/codemirror-5.17.0/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

normalFunction · 0.85
LinkMethod · 0.85
AutoLinkMethod · 0.85
RenderIssueIndexPatternFunction · 0.85
RenderSha1CurrentPatternFunction · 0.85
Test_SanitizerFunction · 0.85
getResponseMethod · 0.85
StringMethod · 0.85
NextMethod · 0.85

Calls 1

nextMethod · 0.45

Tested by 12

Test_SanitizerFunction · 0.68
usersDeleteByIDFunction · 0.68
TestAuthenticateFunction · 0.68
TestAuthorizeFunction · 0.68
Test_verifyOIDFunction · 0.68
Test_internalServerErrorFunction · 0.68