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
  4ef095e8_33df_71cc_7c57_18b2bc8f0a54["parseModifiers()"]
  320ee0f4_351d_a6b2_1c1c_f0f6f42fb987["index.ts"]
  4ef095e8_33df_71cc_7c57_18b2bc8f0a54 -->|defined in| 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987
  94cd3ed6_4fec_eddb_c90a_1c38249e5b02["processAttrs()"]
  94cd3ed6_4fec_eddb_c90a_1c38249e5b02 -->|calls| 4ef095e8_33df_71cc_7c57_18b2bc8f0a54
  style 4ef095e8_33df_71cc_7c57_18b2bc8f0a54 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