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
  96bdb9bb_93af_2fac_25bd_5a2e67895fa7["comment()"]
  42640952_ea63_55f1_1ff1_00816e2980ae["ast.ts"]
  96bdb9bb_93af_2fac_25bd_5a2e67895fa7 -->|defined in| 42640952_ea63_55f1_1ff1_00816e2980ae
  2b13c224_9fb8_311a_1669_17e838226ea5["cssAstToPostCssAst()"]
  2b13c224_9fb8_311a_1669_17e838226ea5 -->|calls| 96bdb9bb_93af_2fac_25bd_5a2e67895fa7
  117741fb_51f9_63e4_669e_170efd25ca86["postCssAstToCssAst()"]
  117741fb_51f9_63e4_669e_170efd25ca86 -->|calls| 96bdb9bb_93af_2fac_25bd_5a2e67895fa7
  b8a15b09_3dfb_7181_b1f8_368422e178e4["parse()"]
  b8a15b09_3dfb_7181_b1f8_368422e178e4 -->|calls| 96bdb9bb_93af_2fac_25bd_5a2e67895fa7
  ae5a4f96_ffbe_5d6f_324b_4caa358fe1fb["compileAst()"]
  ae5a4f96_ffbe_5d6f_324b_4caa358fe1fb -->|calls| 96bdb9bb_93af_2fac_25bd_5a2e67895fa7
  style 96bdb9bb_93af_2fac_25bd_5a2e67895fa7 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,
  }
}

Domain

Subdomains

Frequently Asked Questions

What does comment() do?
comment() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/ast.ts.
Where is comment() defined?
comment() is defined in packages/tailwindcss/src/ast.ts at line 104.
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