MCPcopy
hub / github.com/vuejs/core / parseInlineCSS

Function parseInlineCSS

packages/compiler-dom/src/transforms/transformStyle.ts:35–46  ·  view source on GitHub ↗
(
  cssText: string,
  loc: SourceLocation,
)

Source from the content-addressed store, hash-verified

33}
34
35const parseInlineCSS = (
36 cssText: string,
37 loc: SourceLocation,
38): SimpleExpressionNode => {
39 const normalized = parseStringStyle(cssText)
40 return createSimpleExpression(
41 JSON.stringify(normalized),
42 false,
43 loc,
44 ConstantTypes.CAN_STRINGIFY,
45 )
46}

Callers 1

transformStyleFunction · 0.85

Calls 2

parseStringStyleFunction · 0.90
createSimpleExpressionFunction · 0.90

Tested by

no test coverage detected