Home / Function/ test_razor_pre_processor() — tailwindcss Function Reference

test_razor_pre_processor() — tailwindcss Function Reference

Architecture documentation for the test_razor_pre_processor() function in razor.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  eb6c1c58_ffab_73fb_ab9f_0736c15fd621["test_razor_pre_processor()"]
  43c79a43_9190_869e_b719_f96050481838["razor.rs"]
  eb6c1c58_ffab_73fb_ab9f_0736c15fd621 -->|defined in| 43c79a43_9190_869e_b719_f96050481838
  style eb6c1c58_ffab_73fb_ab9f_0736c15fd621 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/razor.rs lines 19–26

    fn test_razor_pre_processor() {
        let (input, expected) = (
            r#"<div class="@@sm:text-red-500">"#,
            r#"<div class=" @sm:text-red-500">"#,
        );
        Razor::test(input, expected);
        Razor::test_extract_contains(input, vec!["@sm:text-red-500"]);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free