Home / Function/ comment() — tailwindcss Function Reference

comment() — tailwindcss Function Reference

Architecture documentation for the comment() function in ast.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  dbaac8a3_b27b_2942_9a4d_7e9063a9649d["comment()"]
  112073d3_66c7_8610_9209_6e6a56fb828b["cssAstToPostCssAst()"]
  112073d3_66c7_8610_9209_6e6a56fb828b -->|calls| dbaac8a3_b27b_2942_9a4d_7e9063a9649d
  c90ec073_0241_abd8_3427_8edf14bd20d2["postCssAstToCssAst()"]
  c90ec073_0241_abd8_3427_8edf14bd20d2 -->|calls| dbaac8a3_b27b_2942_9a4d_7e9063a9649d
  257c4715_dc91_0c7f_fce8_433a757d9ce6["parse()"]
  257c4715_dc91_0c7f_fce8_433a757d9ce6 -->|calls| dbaac8a3_b27b_2942_9a4d_7e9063a9649d
  6a3a8ab4_d53c_7516_c736_663c060fe979["compileAst()"]
  6a3a8ab4_d53c_7516_c736_663c060fe979 -->|calls| dbaac8a3_b27b_2942_9a4d_7e9063a9649d
  style dbaac8a3_b27b_2942_9a4d_7e9063a9649d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/ast.ts lines 104–109

export function comment(value: string): Comment {
  return {
    kind: 'comment',
    value: value,
  }
}

Subdomains

Frequently Asked Questions

What does comment() do?
comment() is a function in the tailwindcss codebase.
What calls comment()?
comment() is called by 4 function(s): compileAst, cssAstToPostCssAst, parse, postCssAstToCssAst.

Analyze Your Own Codebase

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

Try Supermodel Free