MCPcopy Index your code
hub / github.com/TruthHun/BookStack / string

Function string

static/editor.md/lib/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

EditMethod · 0.85
JsonResultMethod · 0.85
FindPasswordMethod · 0.85
UploadMethod · 0.85
IndexMethod · 0.85
parseBookNavMethod · 0.85
UploadCoverMethod · 0.85
UsersMethod · 0.85
CreateTokenMethod · 0.85
unzipToDataMethod · 0.85
loadByFolderMethod · 0.85
fixFileLinksMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestConvertFunction · 0.68