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
  d46dedfd_6b19_41a2_09cb_7bd796a73299["test_gleam_syntax()"]
  c09b3ad8_e61d_4dcb_3819_2280661fbc5d["assert_extract_sorted_candidates()"]
  d46dedfd_6b19_41a2_09cb_7bd796a73299 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d
  style d46dedfd_6b19_41a2_09cb_7bd796a73299 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