Home / Function/ checkFunctionParameterExpression() — vue Function Reference

checkFunctionParameterExpression() — vue Function Reference

Architecture documentation for the checkFunctionParameterExpression() function in error-detector.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  aa6240aa_9975_79b4_fb7f_a1e66f59e75b["checkFunctionParameterExpression()"]
  082d4686_2778_e118_a80c_c4ffc89177dc["error-detector.ts"]
  aa6240aa_9975_79b4_fb7f_a1e66f59e75b -->|defined in| 082d4686_2778_e118_a80c_c4ffc89177dc
  90b3f438_ac24_92d6_a5de_89063016d3c3["checkNode()"]
  90b3f438_ac24_92d6_a5de_89063016d3c3 -->|calls| aa6240aa_9975_79b4_fb7f_a1e66f59e75b
  style aa6240aa_9975_79b4_fb7f_a1e66f59e75b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/error-detector.ts lines 142–158

function checkFunctionParameterExpression(
  exp: string,
  text: string,
  warn: Function,
  range?: Range
) {
  try {
    new Function(exp, '')
  } catch (e: any) {
    warn(
      `invalid function parameter expression: ${e.message} in\n\n` +
        `    ${exp}\n\n` +
        `  Raw expression: ${text.trim()}\n`,
      range
    )
  }
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does checkFunctionParameterExpression() do?
checkFunctionParameterExpression() is a function in the vue codebase, defined in src/compiler/error-detector.ts.
Where is checkFunctionParameterExpression() defined?
checkFunctionParameterExpression() is defined in src/compiler/error-detector.ts at line 142.
What calls checkFunctionParameterExpression()?
checkFunctionParameterExpression() is called by 1 function(s): checkNode.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free