Home / Function/ test_exceptions() — tailwindcss Function Reference

test_exceptions() — tailwindcss Function Reference

Architecture documentation for the test_exceptions() function in arbitrary_value_machine.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  3a93cbd7_c809_d798_a0c5_49a710984b05["test_exceptions()"]
  2b32c2f1_30a5_e7bc_225e_f9c276ad26c0["arbitrary_value_machine.rs"]
  3a93cbd7_c809_d798_a0c5_49a710984b05 -->|defined in| 2b32c2f1_30a5_e7bc_225e_f9c276ad26c0
  style 3a93cbd7_c809_d798_a0c5_49a710984b05 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/arbitrary_value_machine.rs lines 202–212

    fn test_exceptions() {
        for (input, expected) in [
            // JS string interpolation
            ("[${x}]", vec![]),
            ("[url(${x})]", vec![]),
            // Allowed in strings
            ("[url('${x}')]", vec!["[url('${x}')]"]),
        ] {
            assert_eq!(ArbitraryValueMachine::test_extract_all(input), expected);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does test_exceptions() do?
test_exceptions() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/arbitrary_value_machine.rs.
Where is test_exceptions() defined?
test_exceptions() is defined in crates/oxide/src/extractor/arbitrary_value_machine.rs at line 202.

Analyze Your Own Codebase

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

Try Supermodel Free