MCPcopy Create free account
hub / github.com/AlexNisnevich/untrusted / jsTokenString

Function jsTokenString

lib/codemirror-3.1/mode/javascript/javascript.js:129–135  ·  view source on GitHub ↗
(quote)

Source from the content-addressed store, hash-verified

127 }
128
129 function jsTokenString(quote) {
130 return function(stream, state) {
131 if (!nextUntilUnescaped(stream, quote))
132 state.tokenize = jsTokenBase;
133 return ret("string", "string");
134 };
135 }
136
137 function jsTokenComment(stream, state) {
138 var maybeEnd = false, ch;

Callers 1

jsTokenBaseFunction · 0.85

Calls 2

nextUntilUnescapedFunction · 0.70
retFunction · 0.70

Tested by

no test coverage detected