Home / Function/ processComponent() — vue Function Reference

processComponent() — vue Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  aa53b9a4_c7fd_4dbe_7bb0_f667bc2eca3e["processComponent()"]
  02a69150_0003_c070_7030_ea511121f64b["processElement()"]
  02a69150_0003_c070_7030_ea511121f64b -->|calls| aa53b9a4_c7fd_4dbe_7bb0_f667bc2eca3e
  0d1a9a6d_9f27_26ff_a82e_63f0ab50e4ee["getBindingAttr()"]
  aa53b9a4_c7fd_4dbe_7bb0_f667bc2eca3e -->|calls| 0d1a9a6d_9f27_26ff_a82e_63f0ab50e4ee
  b701a596_9c82_7ec4_2fc8_2e36d33c4974["getAndRemoveAttr()"]
  aa53b9a4_c7fd_4dbe_7bb0_f667bc2eca3e -->|calls| b701a596_9c82_7ec4_2fc8_2e36d33c4974
  style aa53b9a4_c7fd_4dbe_7bb0_f667bc2eca3e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/parser/index.ts lines 763–771

function processComponent(el) {
  let binding
  if ((binding = getBindingAttr(el, 'is'))) {
    el.component = binding
  }
  if (getAndRemoveAttr(el, 'inline-template') != null) {
    el.inlineTemplate = true
  }
}

Subdomains

Called By

Frequently Asked Questions

What does processComponent() do?
processComponent() is a function in the vue codebase.
What does processComponent() call?
processComponent() calls 2 function(s): getAndRemoveAttr, getBindingAttr.
What calls processComponent()?
processComponent() is called by 1 function(s): processElement.

Analyze Your Own Codebase

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

Try Supermodel Free