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

Function vardef1

src/cm/javascript.js:320–326  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

318 return pass();
319 }
320 function vardef1(type, value) {
321 if (type == "variable") {
322 register(value);
323 return isTS ? cont(maybetype, vardef2) : cont(vardef2);
324 }
325 return pass();
326 }
327 function vardef2(type, value) {
328 if (value == "=") return cont(expression, vardef2);
329 if (type == ",") return cont(vardef1);

Callers

nothing calls this directly

Calls 3

registerFunction · 0.85
contFunction · 0.85
passFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…