Home / Function/ test_leptos_rs_view_class_colon_syntax() — tailwindcss Function Reference

test_leptos_rs_view_class_colon_syntax() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a9ddc3c7_27f4_af7f_b185_df0b3d297426["test_leptos_rs_view_class_colon_syntax()"]
  c09b3ad8_e61d_4dcb_3819_2280661fbc5d["assert_extract_sorted_candidates()"]
  a9ddc3c7_27f4_af7f_b185_df0b3d297426 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d
  99bd82af_ea44_3bb9_15bc_4fd7af18fd2f["pre_process_input()"]
  a9ddc3c7_27f4_af7f_b185_df0b3d297426 -->|calls| 99bd82af_ea44_3bb9_15bc_4fd7af18fd2f
  style a9ddc3c7_27f4_af7f_b185_df0b3d297426 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/mod.rs lines 1059–1069

    fn test_leptos_rs_view_class_colon_syntax() {
        for (input, expected) in [
            (r#"<div class:px-6=true>"#, vec!["class", "px-6"]),
            (
                r#"view! { <div class:px-6=true> }"#,
                vec!["class", "px-6", "view!"],
            ),
        ] {
            assert_extract_sorted_candidates(&pre_process_input(input, "svelte"), expected);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does test_leptos_rs_view_class_colon_syntax() do?
test_leptos_rs_view_class_colon_syntax() is a function in the tailwindcss codebase.
What does test_leptos_rs_view_class_colon_syntax() call?
test_leptos_rs_view_class_colon_syntax() calls 2 function(s): assert_extract_sorted_candidates, pre_process_input.

Analyze Your Own Codebase

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

Try Supermodel Free