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
  b6d1e7d0_7a9d_5d7b_6c09_49202548b404["test_razor_pre_processor()"]
  5e723576_1c08_7bc2_5dae_fad3ce841e88["razor.rs"]
  b6d1e7d0_7a9d_5d7b_6c09_49202548b404 -->|defined in| 5e723576_1c08_7bc2_5dae_fad3ce841e88
  style b6d1e7d0_7a9d_5d7b_6c09_49202548b404 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