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 a95c568e_e129_ca4f_5a0b_cfb7de9fc83f["test_exceptions()"] b38ee3a8_b590_69c6_7df6_b73c4ec6b87a["arbitrary_value_machine.rs"] a95c568e_e129_ca4f_5a0b_cfb7de9fc83f -->|defined in| b38ee3a8_b590_69c6_7df6_b73c4ec6b87a style a95c568e_e129_ca4f_5a0b_cfb7de9fc83f 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
Source
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