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 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9["assert_extract_sorted_candidates()"] 0fcd0fda_f6d1_052f_9575_133f5b2763a7["mod.rs"] 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 -->|defined in| 0fcd0fda_f6d1_052f_9575_133f5b2763a7 7773fccc_f342_c3e8_e321_94ac2d6656f3["test_candidates_extraction()"] 7773fccc_f342_c3e8_e321_94ac2d6656f3 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 baeaa317_38dd_ddfe_d711_87f6ff21386a["test_extractor_extract_candidates()"] baeaa317_38dd_ddfe_d711_87f6ff21386a -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 224513a2_95ce_e8e1_d2ae_d50f768a0589["test_ruby_syntax()"] 224513a2_95ce_e8e1_d2ae_d50f768a0589 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 8b79553b_4ed1_95bd_8aa5_8753acb03e83["test_pug_syntax()"] 8b79553b_4ed1_95bd_8aa5_8753acb03e83 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 242911f5_162b_6ddb_78b6_806b29091b62["test_slim_syntax()"] 242911f5_162b_6ddb_78b6_806b29091b62 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 ad3b2f19_191d_d7b8_5eae_8fe01ca13a2a["test_csharp_syntax()"] ad3b2f19_191d_d7b8_5eae_8fe01ca13a2a -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 6e98c3d6_d222_93a7_77cb_f680443b2c3c["test_gleam_syntax()"] 6e98c3d6_d222_93a7_77cb_f680443b2c3c -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 e6fcd7b1_c363_d5d5_478e_faffc6602b12["test_overlapping_candidates()"] e6fcd7b1_c363_d5d5_478e_faffc6602b12 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 8b7905a9_94cc_d3f6_2348_1c2762fb0882["test_js_syntax()"] 8b7905a9_94cc_d3f6_2348_1c2762fb0882 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 45685001_6474_55df_28e5_c06a22d62d15["test_js_tuple_syntax()"] 45685001_6474_55df_28e5_c06a22d62d15 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 0751c832_7f7d_68e8_18d1_6c7cceba134a["test_angular_binding_syntax()"] 0751c832_7f7d_68e8_18d1_6c7cceba134a -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 b73cbcc9_2ee1_b7d3_ef99_2c0a30844d00["test_angular_binding_attribute_syntax()"] b73cbcc9_2ee1_b7d3_ef99_2c0a30844d00 -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 612ec3b2_226b_82b3_be5a_29bdcfbaa17d["test_svelte_shorthand_syntax()"] 612ec3b2_226b_82b3_be5a_29bdcfbaa17d -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 style 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9 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