Home / Function/ genComment() — vue Function Reference

genComment() — vue Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a0044143_f234_ca62_c12c_2b54ac3f5489["genComment()"]
  797c97a3_1c26_5d3b_d5fc_dc5aa54e1bb0["genNode()"]
  797c97a3_1c26_5d3b_d5fc_dc5aa54e1bb0 -->|calls| a0044143_f234_ca62_c12c_2b54ac3f5489
  style a0044143_f234_ca62_c12c_2b54ac3f5489 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/codegen/index.ts lines 601–603

export function genComment(comment: ASTText): string {
  return `_e(${JSON.stringify(comment.text)})`
}

Subdomains

Called By

Frequently Asked Questions

What does genComment() do?
genComment() is a function in the vue codebase.
What calls genComment()?
genComment() is called by 1 function(s): genNode.

Analyze Your Own Codebase

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

Try Supermodel Free