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
  3c43b012_cf99_c4bf_69e4_2c1dbb47efa4["genComment()"]
  ca4b7d11_856f_7d4c_7da6_db728ef7a6f7["genNode()"]
  ca4b7d11_856f_7d4c_7da6_db728ef7a6f7 -->|calls| 3c43b012_cf99_c4bf_69e4_2c1dbb47efa4
  style 3c43b012_cf99_c4bf_69e4_2c1dbb47efa4 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)})`
}

Domain

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