extract_sorted_css_variables() — tailwindcss Function Reference
Architecture documentation for the extract_sorted_css_variables() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD ba82056e_1ee6_37b6_efbc_82b2eb5c14f1["extract_sorted_css_variables()"] b2480792_b5cc_da62_de72_180a0ed2c5cd["assert_extract_sorted_css_variables()"] b2480792_b5cc_da62_de72_180a0ed2c5cd -->|calls| ba82056e_1ee6_37b6_efbc_82b2eb5c14f1 422ad34b_4317_4855_30c2_d1ae1b67d97a["extract()"] ba82056e_1ee6_37b6_efbc_82b2eb5c14f1 -->|calls| 422ad34b_4317_4855_30c2_d1ae1b67d97a style ba82056e_1ee6_37b6_efbc_82b2eb5c14f1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 259–271
fn extract_sorted_css_variables(input: &str) -> Vec<&str> {
let mut machine = Extractor::new(input.as_bytes());
let mut actual = machine
.extract()
.iter()
.filter_map(|x| match x {
Extracted::Candidate(_) => None,
Extracted::CssVariable(bytes) => std::str::from_utf8(bytes).ok(),
})
.collect::<Vec<_>>();
actual.sort();
actual
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does extract_sorted_css_variables() do?
extract_sorted_css_variables() is a function in the tailwindcss codebase.
What does extract_sorted_css_variables() call?
extract_sorted_css_variables() calls 1 function(s): extract.
What calls extract_sorted_css_variables()?
extract_sorted_css_variables() is called by 1 function(s): assert_extract_sorted_css_variables.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free