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
  08650dbf_9d96_f507_eab5_2cea0d207c0b["stripStrings()"]
  d1f8290b_acd6_6448_2aa7_1bc8ba241901["processExp()"]
  d1f8290b_acd6_6448_2aa7_1bc8ba241901 -->|calls| 08650dbf_9d96_f507_eab5_2cea0d207c0b
  style 08650dbf_9d96_f507_eab5_2cea0d207c0b 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