Home / Function/ parseModifiers() — vue Function Reference

parseModifiers() — vue Function Reference

Architecture documentation for the parseModifiers() function in index.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  5940d769_1bd3_4c53_35fc_6968ebb6cb90["parseModifiers()"]
  a8b5582c_75a3_d739_c9b5_27e2ceb67bc3["processAttrs()"]
  a8b5582c_75a3_d739_c9b5_27e2ceb67bc3 -->|calls| 5940d769_1bd3_4c53_35fc_6968ebb6cb90
  style 5940d769_1bd3_4c53_35fc_6968ebb6cb90 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/parser/index.ts lines 933–942

function parseModifiers(name: string): Object | void {
  const match = name.match(modifierRE)
  if (match) {
    const ret = {}
    match.forEach(m => {
      ret[m.slice(1)] = true
    })
    return ret
  }
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free