MCPcopy Create free account
hub / github.com/CanadaHonk/shadow / pushCond

Method pushCond

engine/cssparser.js:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 let conds = [];
62
63 const pushCond = () => {
64 if (text || sType === SelectorType.Universal) conds.push({ type: sType, text });
65 sType = SelectorType.Tag;
66 text = '';
67 };
68
69 const isCombinator = c => [' ', '>'].includes(c);
70

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected