assert_extract_sorted_candidates() — tailwindcss Function Reference
Architecture documentation for the assert_extract_sorted_candidates() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 80ff0a5a_eb98_52e8_b801_bcc7263c7a89["assert_extract_sorted_candidates()"] eb5f3ab1_80da_abe4_f35c_a91e8e409b69["mod.rs"] 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 -->|defined in| eb5f3ab1_80da_abe4_f35c_a91e8e409b69 133b8baa_72e2_8280_dd07_178f98fcb4c4["test_candidates_extraction()"] 133b8baa_72e2_8280_dd07_178f98fcb4c4 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 aa30f806_8401_d75d_e80f_e3f15091e59c["test_extractor_extract_candidates()"] aa30f806_8401_d75d_e80f_e3f15091e59c -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 22bb7fc8_fea1_0a3c_51c0_c5c4fdfa9d91["test_ruby_syntax()"] 22bb7fc8_fea1_0a3c_51c0_c5c4fdfa9d91 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 7d32b732_e249_0d34_48e1_b4414ef21592["test_pug_syntax()"] 7d32b732_e249_0d34_48e1_b4414ef21592 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 f65e8023_75f2_56db_f5b4_9206eb2cb587["test_slim_syntax()"] f65e8023_75f2_56db_f5b4_9206eb2cb587 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 09d922e0_8fce_3fe7_5460_887cc0aeedba["test_csharp_syntax()"] 09d922e0_8fce_3fe7_5460_887cc0aeedba -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 bb1c4039_415b_be55_668c_e29ddf2488a6["test_gleam_syntax()"] bb1c4039_415b_be55_668c_e29ddf2488a6 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 c4188dad_714b_e9ca_2a19_b37c883ebc91["test_overlapping_candidates()"] c4188dad_714b_e9ca_2a19_b37c883ebc91 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 acfc2d02_4c36_05e7_74d3_15d631c00639["test_js_syntax()"] acfc2d02_4c36_05e7_74d3_15d631c00639 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 fae1dce4_c39b_ab29_3403_e6befa4c0bec["test_js_tuple_syntax()"] fae1dce4_c39b_ab29_3403_e6befa4c0bec -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 89858244_b19a_4c2b_1cc9_c707c15d21ae["test_angular_binding_syntax()"] 89858244_b19a_4c2b_1cc9_c707c15d21ae -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 48de1b9f_bdf6_87ab_48d6_1eb19c9309f1["test_angular_binding_attribute_syntax()"] 48de1b9f_bdf6_87ab_48d6_1eb19c9309f1 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 67954407_15dd_3b01_e807_264117886a63["test_svelte_shorthand_syntax()"] 67954407_15dd_3b01_e807_264117886a63 -->|calls| 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 style 80ff0a5a_eb98_52e8_b801_bcc7263c7a89 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 273–286
fn assert_extract_sorted_candidates(input: &str, expected: Vec<&str>) {
let mut actual = extract_sorted_candidates(input);
actual.sort();
actual.dedup();
let mut expected = expected;
expected.sort();
expected.dedup();
if actual != expected {
dbg!(&input);
}
assert_eq!(actual, expected);
}
Domain
Subdomains
Defined In
Called By
- test_angular_binding_attribute_syntax()
- test_angular_binding_syntax()
- test_arbitrary_container_queries_syntax()
- test_arbitrary_variable_with_data_type()
- test_candidates_extraction()
- test_classes_containing_number_followed_by_dash_or_underscore()
- test_csharp_syntax()
- test_extractor_extract_candidates()
- test_gleam_syntax()
- test_js_syntax()
- test_js_tuple_syntax()
- test_leptos_rs_view_class_colon_syntax()
- test_overlapping_candidates()
- test_pug_syntax()
- test_ruby_syntax()
- test_slim_syntax()
- test_svelte_shorthand_syntax()
Source
Frequently Asked Questions
What does assert_extract_sorted_candidates() do?
assert_extract_sorted_candidates() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/mod.rs.
Where is assert_extract_sorted_candidates() defined?
assert_extract_sorted_candidates() is defined in crates/oxide/src/extractor/mod.rs at line 273.
What does assert_extract_sorted_candidates() call?
assert_extract_sorted_candidates() calls 1 function(s): extract_sorted_candidates.
What calls assert_extract_sorted_candidates()?
assert_extract_sorted_candidates() is called by 17 function(s): test_angular_binding_attribute_syntax, test_angular_binding_syntax, test_arbitrary_container_queries_syntax, test_arbitrary_variable_with_data_type, test_candidates_extraction, test_classes_containing_number_followed_by_dash_or_underscore, test_csharp_syntax, test_extractor_extract_candidates, and 9 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free