MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / jsTokenString

Function jsTokenString

src/cm/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.85
retFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…