( context: VariableProjectionContext, format: VariableFormatter )
| 125 | } |
| 126 | |
| 127 | function buildReplacementMap( |
| 128 | context: VariableProjectionContext, |
| 129 | format: VariableFormatter |
| 130 | ): Map<string, string> { |
| 131 | const map = new Map<string, string>() |
| 132 | |
| 133 | for (const variable of context.variablesById.values()) { |
| 134 | const value = format(variable) |
| 135 | if (!value) continue |
| 136 | map.set(getVariableCssName(variable), value) |
| 137 | } |
| 138 | |
| 139 | return map |
| 140 | } |
| 141 | |
| 142 | function rewriteKnownCodeSyntaxValues( |
| 143 | style: Record<string, string>, |
no test coverage detected