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
  cd39a571_e3cd_e6f0_cc58_0eb0062f0b59["parseModifiers()"]
  6f72c0fc_c9ca_496b_1bc7_d93b516eda63["processAttrs()"]
  6f72c0fc_c9ca_496b_1bc7_d93b516eda63 -->|calls| cd39a571_e3cd_e6f0_cc58_0eb0062f0b59
  style cd39a571_e3cd_e6f0_cc58_0eb0062f0b59 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
  }
}

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