Home / Function/ test_leptos_extraction() — tailwindcss Function Reference

test_leptos_extraction() — tailwindcss Function Reference

Architecture documentation for the test_leptos_extraction() function in rust.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  7f1938cd_a887_898f_fd73_6edd11b148ca["test_leptos_extraction()"]
  b83b130e_f494_4c75_1153_c58b04972660["rust.rs"]
  7f1938cd_a887_898f_fd73_6edd11b148ca -->|defined in| b83b130e_f494_4c75_1153_c58b04972660
  style 7f1938cd_a887_898f_fd73_6edd11b148ca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/rust.rs lines 130–150

    fn test_leptos_extraction() {
        for (input, expected) in [
            // Spaces
            (
                "<div class:flex class:px-2.5={condition()}>",
                "<div class flex class px-2.5={condition()}>",
            ),
            // Tabs
            (
                "<div\tclass:flex class:px-2.5={condition()}>",
                "<div class flex class px-2.5={condition()}>",
            ),
            // Newlines
            (
                "<div\nclass:flex class:px-2.5={condition()}>",
                "<div class flex class px-2.5={condition()}>",
            ),
        ] {
            Rust::test(input, expected);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does test_leptos_extraction() do?
test_leptos_extraction() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/rust.rs.
Where is test_leptos_extraction() defined?
test_leptos_extraction() is defined in crates/oxide/src/extractor/pre_processors/rust.rs at line 130.

Analyze Your Own Codebase

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

Try Supermodel Free