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
  86414445_c3f6_cc55_3198_e48e41c89275["processRef()"]
  320ee0f4_351d_a6b2_1c1c_f0f6f42fb987["index.ts"]
  86414445_c3f6_cc55_3198_e48e41c89275 -->|defined in| 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987
  d580ca1c_dbf7_89f2_e0e4_6199ea988b51["processElement()"]
  d580ca1c_dbf7_89f2_e0e4_6199ea988b51 -->|calls| 86414445_c3f6_cc55_3198_e48e41c89275
  4ed4ecb1_33ab_6e92_8439_f0a81ee997fa["getBindingAttr()"]
  86414445_c3f6_cc55_3198_e48e41c89275 -->|calls| 4ed4ecb1_33ab_6e92_8439_f0a81ee997fa
  7cbd4425_989c_87f5_bec8_5cd7c4ebcec6["checkInFor()"]
  86414445_c3f6_cc55_3198_e48e41c89275 -->|calls| 7cbd4425_989c_87f5_bec8_5cd7c4ebcec6
  style 86414445_c3f6_cc55_3198_e48e41c89275 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, defined in src/compiler/parser/index.ts.
Where is processRef() defined?
processRef() is defined in src/compiler/parser/index.ts at line 502.
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