MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / jsTokenString

Function jsTokenString

mini-code-edit/cm/mode/javascript/javascript.js:95–101  ·  view source on GitHub ↗
(quote)

Source from the content-addressed store, hash-verified

93 }
94
95 function jsTokenString(quote) {
96 return function(stream, state) {
97 if (!nextUntilUnescaped(stream, quote))
98 state.tokenize = jsTokenBase;
99 return ret("string", "string");
100 };
101 }
102
103 function jsTokenComment(stream, state) {
104 var maybeEnd = false, ch;

Callers 1

jsTokenBaseFunction · 0.85

Calls 2

nextUntilUnescapedFunction · 0.70
retFunction · 0.70

Tested by

no test coverage detected