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
  1357d3a3_07b9_6531_f9bb_13cc933ea47d["processComponent()"]
  31f9edc3_10e5_9556_86c6_7c900b922f60["processElement()"]
  31f9edc3_10e5_9556_86c6_7c900b922f60 -->|calls| 1357d3a3_07b9_6531_f9bb_13cc933ea47d
  2e03f8d2_4a5a_f1cd_1d7b_db95ba63549e["getBindingAttr()"]
  1357d3a3_07b9_6531_f9bb_13cc933ea47d -->|calls| 2e03f8d2_4a5a_f1cd_1d7b_db95ba63549e
  b54f5bfb_1a4e_430d_f7d5_41f81c9a1ab3["getAndRemoveAttr()"]
  1357d3a3_07b9_6531_f9bb_13cc933ea47d -->|calls| b54f5bfb_1a4e_430d_f7d5_41f81c9a1ab3
  style 1357d3a3_07b9_6531_f9bb_13cc933ea47d 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
  }
}

Domain

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