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
  b1b7aa59_2a05_0133_836e_20e3b33f5daa["genComment()"]
  6a18399e_553e_fef8_6a39_746f79f94bd2["index.ts"]
  b1b7aa59_2a05_0133_836e_20e3b33f5daa -->|defined in| 6a18399e_553e_fef8_6a39_746f79f94bd2
  574cf366_be5c_8e5d_b72b_8e5c7974e7ea["genNode()"]
  574cf366_be5c_8e5d_b72b_8e5c7974e7ea -->|calls| b1b7aa59_2a05_0133_836e_20e3b33f5daa
  style b1b7aa59_2a05_0133_836e_20e3b33f5daa 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, defined in src/compiler/codegen/index.ts.
Where is genComment() defined?
genComment() is defined in src/compiler/codegen/index.ts at line 601.
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