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
  f4c1885c_39a0_4343_f87c_7a8b1145a3bc["comment()"]
  81a639ec_bc2c_cf5e_48e3_3ae33426ae0a["cssAstToPostCssAst()"]
  81a639ec_bc2c_cf5e_48e3_3ae33426ae0a -->|calls| f4c1885c_39a0_4343_f87c_7a8b1145a3bc
  3b7b5721_2ad8_b95c_e5b3_704c1dbf9939["postCssAstToCssAst()"]
  3b7b5721_2ad8_b95c_e5b3_704c1dbf9939 -->|calls| f4c1885c_39a0_4343_f87c_7a8b1145a3bc
  253418a1_4f08_cf0e_5b8e_c6392b9959eb["parse()"]
  253418a1_4f08_cf0e_5b8e_c6392b9959eb -->|calls| f4c1885c_39a0_4343_f87c_7a8b1145a3bc
  f5e443d2_a934_36af_23f2_b1c002aaa585["compileAst()"]
  f5e443d2_a934_36af_23f2_b1c002aaa585 -->|calls| f4c1885c_39a0_4343_f87c_7a8b1145a3bc
  style f4c1885c_39a0_4343_f87c_7a8b1145a3bc 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.
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