Home / Function/ processRef() — vue Function Reference

processRef() — vue Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3b70d862_51e3_91ec_aaf4_3dd40b6e9155["processRef()"]
  31f9edc3_10e5_9556_86c6_7c900b922f60["processElement()"]
  31f9edc3_10e5_9556_86c6_7c900b922f60 -->|calls| 3b70d862_51e3_91ec_aaf4_3dd40b6e9155
  2e03f8d2_4a5a_f1cd_1d7b_db95ba63549e["getBindingAttr()"]
  3b70d862_51e3_91ec_aaf4_3dd40b6e9155 -->|calls| 2e03f8d2_4a5a_f1cd_1d7b_db95ba63549e
  93879ef0_28dc_f8b3_ad1b_a5ef34e3fd70["checkInFor()"]
  3b70d862_51e3_91ec_aaf4_3dd40b6e9155 -->|calls| 93879ef0_28dc_f8b3_ad1b_a5ef34e3fd70
  style 3b70d862_51e3_91ec_aaf4_3dd40b6e9155 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/parser/index.ts lines 502–508

function processRef(el) {
  const ref = getBindingAttr(el, 'ref')
  if (ref) {
    el.ref = ref
    el.refInFor = checkInFor(el)
  }
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does processRef() do?
processRef() is a function in the vue codebase.
What does processRef() call?
processRef() calls 2 function(s): checkInFor, getBindingAttr.
What calls processRef()?
processRef() 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