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

Method finishRule

engine/cssparser.js:227–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 // console.log(`${c} | state: ${this.mainState}`);
226
227 const finishRule = () => {
228 this.currentRule.addProperty(this.currentProp, this.currentValue);
229
230 this.currentProp = '';
231 this.currentValue = '';
232 this.currentSelector = '';
233 };
234
235 switch (this.atState) {
236 case AtState.Name: {

Callers

nothing calls this directly

Calls 1

addPropertyMethod · 0.80

Tested by

no test coverage detected