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
  7c7ae625_e72f_cb8f_34bc_33e77556fd57["genComment()"]
  54260741_ae9d_a025_86de_47c513f5f82d["index.ts"]
  7c7ae625_e72f_cb8f_34bc_33e77556fd57 -->|defined in| 54260741_ae9d_a025_86de_47c513f5f82d
  58562d3b_7f41_25f1_a971_62a0f5f779f7["genNode()"]
  58562d3b_7f41_25f1_a971_62a0f5f779f7 -->|calls| 7c7ae625_e72f_cb8f_34bc_33e77556fd57
  style 7c7ae625_e72f_cb8f_34bc_33e77556fd57 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