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
  1fbc98da_1a21_e567_0590_0afa3750d60f["parseModifiers()"]
  101d3d34_ac07_228f_62b9_5d5ac4a0ea2e["index.ts"]
  1fbc98da_1a21_e567_0590_0afa3750d60f -->|defined in| 101d3d34_ac07_228f_62b9_5d5ac4a0ea2e
  89ae2d84_ca61_4847_7313_0974c1948730["processAttrs()"]
  89ae2d84_ca61_4847_7313_0974c1948730 -->|calls| 1fbc98da_1a21_e567_0590_0afa3750d60f
  style 1fbc98da_1a21_e567_0590_0afa3750d60f 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, defined in src/compiler/parser/index.ts.
Where is parseModifiers() defined?
parseModifiers() is defined in src/compiler/parser/index.ts at line 933.
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