MCPcopy
hub / github.com/webpack/webpack / markLocal

Method markLocal

lib/css/CssParser.js:1099–1101  ·  view source on GitHub ↗

* Record that the current comma-separated selector carries a local class / id (no-op when pure-mode is off).

()

Source from the content-addressed store, hash-verified

1097 * Record that the current comma-separated selector carries a local class / id (no-op when pure-mode is off).
1098 */
1099 markLocal() {
1100 if (this.enabled) this.segmentLocal = true;
1101 },
1102 /**
1103 * Close the current comma-separated selector segment (or whole prelude at `{`): if it had no local and no ancestor compensates, the rule is impure (no-op when pure-mode is off).
1104 */

Callers 3

processLocalAtRuleMethod · 0.80
walkSelectorListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected