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
  bb1c4039_415b_be55_668c_e29ddf2488a6["test_gleam_syntax()"]
  eb5f3ab1_80da_abe4_f35c_a91e8e409b69["mod.rs"]
  bb1c4039_415b_be55_668c_e29ddf2488a6 -->|defined in| eb5f3ab1_80da_abe4_f35c_a91e8e409b69
  80ff0a5a_eb98_52e8_b801_bcc7263c7a89["assert_extract_sorted_candidates()"]
  bb1c4039_415b_be55_668c_e29ddf2488a6 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89
  style bb1c4039_415b_be55_668c_e29ddf2488a6 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, defined in crates/oxide/src/extractor/mod.rs.
Where is test_gleam_syntax() defined?
test_gleam_syntax() is defined in crates/oxide/src/extractor/mod.rs at line 713.
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