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
  f59589c3_d9ef_ae50_2d09_2d17a4b64bf4["processRef()"]
  02a69150_0003_c070_7030_ea511121f64b["processElement()"]
  02a69150_0003_c070_7030_ea511121f64b -->|calls| f59589c3_d9ef_ae50_2d09_2d17a4b64bf4
  0d1a9a6d_9f27_26ff_a82e_63f0ab50e4ee["getBindingAttr()"]
  f59589c3_d9ef_ae50_2d09_2d17a4b64bf4 -->|calls| 0d1a9a6d_9f27_26ff_a82e_63f0ab50e4ee
  2489e8be_506b_e579_44fa_ab6dc297ffc4["checkInFor()"]
  f59589c3_d9ef_ae50_2d09_2d17a4b64bf4 -->|calls| 2489e8be_506b_e579_44fa_ab6dc297ffc4
  style f59589c3_d9ef_ae50_2d09_2d17a4b64bf4 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)
  }
}

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