MCPcopy
hub / github.com/microsoft/playwright / processExpression

Function processExpression

tests/assets/reading-list/vue_3.1.5.js:12822–12835  ·  view source on GitHub ↗
(node, context, 
  // some expressions like v-slot props & v-for aliases should be parsed as
  // function params
  asParams = false, 
  // v-on handler values may contain multiple statements
  asRawStatements = false)

Source from the content-addressed store, hash-verified

12820 // always be used with a leading !true check so that it can be
12821 // tree-shaken from the browser build.
12822 function processExpression(node, context,
12823 // some expressions like v-slot props & v-for aliases should be parsed as
12824 // function params
12825 asParams = false,
12826 // v-on handler values may contain multiple statements
12827 asRawStatements = false) {
12828 {
12829 {
12830 // simple in-browser validation (same logic in 2.x)
12831 validateBrowserExpression(node, context, asParams, asRawStatements);
12832 }
12833 return node;
12834 }
12835 }
12836
12837 const transformIf = createStructuralDirectiveTransform(/^(if|else|else-if)$/, (node, dir, context) => {
12838 return processIf(node, dir, context, (ifNode, branch, isRoot) => {

Callers 1

transformExpressionFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…