MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / tokenParenthesized

Function tokenParenthesized

static/js/codemirror/mode/css/css.js:291–298  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

289 }
290
291 function tokenParenthesized(stream, state) {
292 stream.next(); // Must be '('
293 if (!stream.match(/\s*[\"\']/, false))
294 state.tokenize = tokenString(")", true);
295 else
296 state.tokenize = tokenBase;
297 return ret(null, "(");
298 }
299
300 return {
301 startState: function(base) {

Callers

nothing calls this directly

Calls 4

tokenStringFunction · 0.70
retFunction · 0.70
nextMethod · 0.45
matchMethod · 0.45

Tested by

no test coverage detected