Home / Function/ test_gleam_syntax() — tailwindcss Function Reference

test_gleam_syntax() — tailwindcss Function Reference

Architecture documentation for the test_gleam_syntax() function in mod.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  7260be76_b2d0_7995_b77d_5b2f2d2cccde["test_gleam_syntax()"]
  322a5768_e6e0_c5e9_b1c2_7c6638e21f71["assert_extract_sorted_candidates()"]
  7260be76_b2d0_7995_b77d_5b2f2d2cccde -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71
  style 7260be76_b2d0_7995_b77d_5b2f2d2cccde fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/mod.rs lines 713–723

    fn test_gleam_syntax() {
        for (input, expected) in [
            (r#"html.div([attribute.class("py-10")], [])"#, vec!["py-10"]),
            (
                r#"html.div([attribute.class("hover:py-10")], [])"#,
                vec!["hover:py-10"],
            ),
        ] {
            assert_extract_sorted_candidates(input, expected);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does test_gleam_syntax() do?
test_gleam_syntax() is a function in the tailwindcss codebase.
What does test_gleam_syntax() call?
test_gleam_syntax() calls 1 function(s): assert_extract_sorted_candidates.

Analyze Your Own Codebase

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

Try Supermodel Free