Home / Function/ processRef() — vue Function Reference

processRef() — vue Function Reference

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

Function typescript VueCore Observer calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  46d2d6a0_496d_4a04_e5c5_4eb4dacf2328["processRef()"]
  101d3d34_ac07_228f_62b9_5d5ac4a0ea2e["index.ts"]
  46d2d6a0_496d_4a04_e5c5_4eb4dacf2328 -->|defined in| 101d3d34_ac07_228f_62b9_5d5ac4a0ea2e
  08093d1f_a003_dbad_063e_2431482be94f["processElement()"]
  08093d1f_a003_dbad_063e_2431482be94f -->|calls| 46d2d6a0_496d_4a04_e5c5_4eb4dacf2328
  58594d31_46d6_b10c_c378_911111359052["getBindingAttr()"]
  46d2d6a0_496d_4a04_e5c5_4eb4dacf2328 -->|calls| 58594d31_46d6_b10c_c378_911111359052
  015b37ae_6578_930e_954c_cfb10a59154a["checkInFor()"]
  46d2d6a0_496d_4a04_e5c5_4eb4dacf2328 -->|calls| 015b37ae_6578_930e_954c_cfb10a59154a
  style 46d2d6a0_496d_4a04_e5c5_4eb4dacf2328 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