MCPcopy
hub / github.com/web-infra-dev/garfish / host

Method host

packages/css-scope/src/cssStringify.ts:171–178  ·  view source on GitHub ↗
(node: HostNode)

Source from the content-addressed store, hash-verified

169 }
170
171 host(node: HostNode) {
172 return (
173 this.emit('@host', node.position) +
174 this.emit(` {\n${this.indent(1)}`) +
175 this.mapVisit(node.rules, '\n\n') +
176 this.emit(`${this.indent(-1)}\n}`)
177 );
178 }
179
180 rule(node: RuleNode) {
181 const indent = this.indent();

Callers

nothing calls this directly

Calls 3

emitMethod · 0.95
indentMethod · 0.95
mapVisitMethod · 0.95

Tested by

no test coverage detected