Home / Function/ stripStrings() — vue Function Reference

stripStrings() — vue Function Reference

Architecture documentation for the stripStrings() function in compileScript.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  a8b0035b_637c_c5b5_2280_a543185e0d10["stripStrings()"]
  0f4b2d12_1485_be8c_d799_815c5d739d57["processExp()"]
  0f4b2d12_1485_be8c_d799_815c5d739d57 -->|calls| a8b0035b_637c_c5b5_2280_a543185e0d10
  style a8b0035b_637c_c5b5_2280_a543185e0d10 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/compiler-sfc/src/compileScript.ts lines 1865–1869

function stripStrings(exp: string) {
  return exp
    .replace(/'[^']*'|"[^"]*"/g, '')
    .replace(/`[^`]+`/g, stripTemplateString)
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does stripStrings() do?
stripStrings() is a function in the vue codebase.
What calls stripStrings()?
stripStrings() is called by 1 function(s): processExp.

Analyze Your Own Codebase

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

Try Supermodel Free