Home / Function/ genStaticKeys() — vue Function Reference

genStaticKeys() — vue Function Reference

Architecture documentation for the genStaticKeys() function in optimizer.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  cf27cf24_817c_c9a5_a537_89d08071acac["genStaticKeys()"]
  62546a34_f736_9139_cfec_7d596f17642d["optimizer.ts"]
  cf27cf24_817c_c9a5_a537_89d08071acac -->|defined in| 62546a34_f736_9139_cfec_7d596f17642d
  style cf27cf24_817c_c9a5_a537_89d08071acac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/optimizer.ts lines 33–38

function genStaticKeys(keys: string): Function {
  return makeMap(
    'type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap' +
      (keys ? ',' + keys : '')
  )
}

Domain

Subdomains

Frequently Asked Questions

What does genStaticKeys() do?
genStaticKeys() is a function in the vue codebase, defined in src/compiler/optimizer.ts.
Where is genStaticKeys() defined?
genStaticKeys() is defined in src/compiler/optimizer.ts at line 33.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free