1 viewer
rust 1,863,595 · typescript 235,976 · javascript 133,240 · python 20,426 · 6,417 files · digest b3b8c6dd2bb2 · built in 2.5 s · crystals off
crates/cre8-app-view-dom/src/reconciler.rs
Items
enum ChildSource enum TreeDiff const STANDARD_DOM_ATTRIBUTES type JsonMap type AttributeSetter const ATTRIBUTE_SETTERS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 106 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| diffsrc/reconciler.rs:98 | fn | 18 | 3 | 15 | 7 | 6.5 | |
| is_standard_attrsrc/reconciler.rs:246 | fn | 3 | 1 | 4 | 0 | 3.2 | |
| set_input_valuesrc/reconciler.rs:382 | fn | 9 | 3 | 2 | 3 | 2.4 | |
| apply_one_patchsrc/reconciler.rs:471 | fn | 8 | 2 | 1 | 2 | 2.3 | |
| get_node_keysrc/reconciler.rs:62 | fn | 3 | 1 | 2 | 1 | 2.3 | |
| primitive_base_classsrc/reconciler.rs:544 | fn | 6 | 3 | 2 | 0 | 2.2 | |
| applysrc/reconciler.rs:463 | fn | 6 | 2 | 4 | 1 | 2.2 | |
| remove_treesrc/reconciler.rs:28 | fn | 5 | 1 | 2 | 0 | 1.9 | |
| unmount_if_elementsrc/reconciler.rs:850 | fn | 5 | 2 | 2 | 1 | 1.8 | |
| initial_tree_from_script_textsrc/reconciler.rs:332 | fn | 16 | 2 | 4 | 1 | 1.7 | |
| set_standard_attributesrc/reconciler.rs:675 | fn | 3 | 1 | 1 | 0 | 1.6 | |
| element_is_focusedsrc/reconciler.rs:447 | fn | 3 | 1 | 2 | 0 | 1.5 | |
| apply_root_patchsrc/reconciler.rs:481 | fn | 8 | 4 | 1 | 3 | 1.5 | |
| apply_child_patchsrc/reconciler.rs:491 | fn | 11 | 5 | 1 | 4 | 1.5 | |
| child_keysrc/reconciler.rs:66 | fn | 3 | 2 | 2 | 1 | 1.4 | |
| build_patch_nodesrc/reconciler.rs:807 | fn | 10 | 3 | 2 | 2 | 1.3 | |
| save_treesrc/reconciler.rs:16 | fn | 5 | 1 | 5 | 0 | 1.3 | |
| replace_patchsrc/reconciler.rs:117 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| comparable_view_objectssrc/reconciler.rs:121 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| node_tagsrc/reconciler.rs:125 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| node_propssrc/reconciler.rs:129 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| node_childrensrc/reconciler.rs:133 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| diff_childrensrc/reconciler.rs:137 | fn | 8 | 4 | 1 | 3 | 1.3 | |
| diff_propssrc/reconciler.rs:218 | fn | 8 | 4 | 1 | 3 | 1.3 | |
| sync_removed_attributesrc/reconciler.rs:515 | fn | 10 | 4 | 1 | 4 | 1.3 | |
| attribute_settersrc/reconciler.rs:584 | fn | 6 | 1 | 1 | 1 | 1.3 | |
| apply_primitive_modifier_classsrc/reconciler.rs:627 | fn | 14 | 2 | 1 | 1 | 1.3 | |
| diff_added_propssrc/reconciler.rs:272 | fn | 7 | 2 | 1 | 2 | 1.2 | |
| diff_all_removed_propssrc/reconciler.rs:280 | fn | 7 | 2 | 1 | 1 | 1.2 | |
| set_html_input_valuesrc/reconciler.rs:393 | fn | 16 | 3 | 1 | 2 | 1.2 | |
| set_textarea_valuesrc/reconciler.rs:420 | fn | 16 | 3 | 1 | 2 | 1.2 | |
| set_value_attribute_fallbacksrc/reconciler.rs:452 | fn | 8 | 2 | 1 | 0 | 1.2 | |
| get_treesrc/reconciler.rs:23 | fn | 3 | 1 | 3 | 0 | 1.2 | |
| save_initial_tree_valuesrc/reconciler.rs:365 | fn | 6 | 1 | 3 | 4 | 1 | |
| render_containersrc/reconciler.rs:923 | fn | 6 | 1 | 2 | 2 | 1 | |
| update_focused_input_valuesrc/reconciler.rs:411 | fn | 7 | 1 | 1 | 0 | 1 | |
| update_focused_textarea_valuesrc/reconciler.rs:438 | fn | 7 | 1 | 1 | 0 | 1 | |
| apply_set_attributesrc/reconciler.rs:504 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| apply_remove_attributesrc/reconciler.rs:509 | fn | 4 | 1 | 1 | 1 | 0.9 | |
| replace_nodesrc/reconciler.rs:680 | fn | 10 | 1 | 1 | 3 | 0.9 | |
| set_primitive_modifier_attributesrc/reconciler.rs:610 | fn | 5 | 1 | 1 | 1 | 0.9 | |
| set_ordered_attributesrc/reconciler.rs:648 | fn | 11 | 2 | 1 | 0 | 0.9 | |
| set_percent_attributesrc/reconciler.rs:666 | fn | 7 | 2 | 1 | 0 | 0.9 | |
| portable_irsrc/reconciler.rs:936 | fn | 11 | 1 | 2 | 1 | 0.9 | |
| place_childsrc/reconciler.rs:819 | fn | 8 | 1 | 2 | 2 | 0.9 | |
| hydrate_if_elementsrc/reconciler.rs:843 | fn | 5 | 2 | 2 | 1 | 0.9 | |
| child_atsrc/reconciler.rs:829 | fn | 4 | 1 | 1 | 0 | 0.9 | |
| insert_before_if_neededsrc/reconciler.rs:835 | fn | 6 | 2 | 1 | 0 | 0.9 | |
| diff_new_propssrc/reconciler.rs:250 | fn | 10 | 4 | 1 | 2 | 0.9 | |
| diff_removed_propssrc/reconciler.rs:261 | fn | 10 | 4 | 1 | 1 | 0.9 | |
| diff_existing_childrensrc/reconciler.rs:146 | fn | 7 | 3 | 1 | 3 | 0.9 | |
| diff_existing_propssrc/reconciler.rs:227 | fn | 6 | 1 | 1 | 2 | 0.9 | |
| diff_added_props_onlysrc/reconciler.rs:234 | fn | 5 | 1 | 1 | 1 | 0.9 | |
| diff_removed_props_onlysrc/reconciler.rs:240 | fn | 5 | 1 | 1 | 1 | 0.9 | |
| insert_all_childrensrc/reconciler.rs:317 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| remove_all_childrensrc/reconciler.rs:321 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| indexed_state_specssrc/reconciler.rs:375 | fn | 5 | 1 | 2 | 1 | 0.8 | |
| insert_childsrc/reconciler.rs:692 | fn | 9 | 1 | 1 | 3 | 0.8 | |
| remove_childsrc/reconciler.rs:703 | fn | 7 | 1 | 1 | 1 | 0.8 | |
| patch_childsrc/reconciler.rs:712 | fn | 6 | 1 | 1 | 1 | 0.8 | |
| reconcile_childrensrc/reconciler.rs:720 | fn | 13 | 1 | 1 | 4 | 0.8 | |
| append_child_length_patchessrc/reconciler.rs:309 | fn | 7 | 3 | 1 | 0 | 0.8 | |
| save_initial_tree_from_documentsrc/reconciler.rs:353 | fn | 10 | 2 | 2 | 2 | 0.8 | |
| append_keyed_child_patchessrc/reconciler.rs:200 | fn | 11 | 2 | 1 | 1 | 0.8 | |
| reconcile_saved_treesrc/reconciler.rs:901 | fn | 14 | 2 | 1 | 3 | 0.8 | |
| is_primitive_modifier_attrsrc/reconciler.rs:527 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| remove_primitive_modifier_classessrc/reconciler.rs:532 | fn | 10 | 1 | 1 | 1 | 0.8 | |
| remove_ordered_classsrc/reconciler.rs:552 | fn | 6 | 1 | 1 | 0 | 0.8 | |
| remove_progress_fill_stylesrc/reconciler.rs:560 | fn | 6 | 2 | 1 | 0 | 0.8 | |
| has_any_child_keysrc/reconciler.rs:154 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| diff_keyed_childrensrc/reconciler.rs:158 | fn | 23 | 2 | 1 | 3 | 0.7 | |
| diff_unkeyed_childrensrc/reconciler.rs:292 | fn | 16 | 3 | 1 | 2 | 0.7 | |
| push_keyed_child_slotsrc/reconciler.rs:182 | fn | 17 | 2 | 1 | 2 | 0.7 | |
| unreused_child_indicessrc/reconciler.rs:212 | fn | 5 | 1 | 1 | 0 | 0.7 | |
| keyed_child_mapsrc/reconciler.rs:288 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| reconciled_slot_nodesrc/reconciler.rs:793 | fn | 12 | 2 | 1 | 1 | 0.7 | |
| reconcile_existing_treesrc/reconciler.rs:887 | fn | 12 | 1 | 1 | 2 | 0.7 | |
| remount_containersrc/reconciler.rs:917 | fn | 4 | 1 | 1 | 2 | 0.7 | |
| collect_child_nodessrc/reconciler.rs:735 | fn | 4 | 1 | 1 | 0 | 0.7 | |
| remove_reconciled_childrensrc/reconciler.rs:741 | fn | 10 | 3 | 1 | 1 | 0.7 | |
| patch_reconciled_childrensrc/reconciler.rs:753 | fn | 16 | 3 | 1 | 1 | 0.7 | |
| place_reconciled_childrensrc/reconciler.rs:771 | fn | 20 | 3 | 1 | 3 | 0.7 | |
| reconcile_or_mount_treesrc/reconciler.rs:870 | fn | 15 | 3 | 1 | 3 | 0.6 | |
| set_class_name_attributesrc/reconciler.rs:592 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| set_text_content_attributesrc/reconciler.rs:598 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| set_live_value_attributesrc/reconciler.rs:604 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| set_primitive_modifier_attribute_handlersrc/reconciler.rs:617 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| set_ordered_attribute_handlersrc/reconciler.rs:643 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| set_percent_attribute_handlersrc/reconciler.rs:661 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| reconcile_subtreesrc/reconciler.rs:860 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| initial_tree_prefers_valid_portable_irsrc/reconciler.rs:949 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| invalid_portable_ir_does_not_fall_back_to_legacy_treesrc/reconciler.rs:961 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| initial_tree_keeps_legacy_compatibility_without_artifactsrc/reconciler.rs:973 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| diff_returns_empty_for_identical_valuessrc/reconciler.rs:979 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| diff_replaces_different_tagssrc/reconciler.rs:991 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| diff_sets_and_removes_standard_attributessrc/reconciler.rs:998 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| diff_replaces_on_custom_props_changesrc/reconciler.rs:1013 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| diff_handles_child_insertion_deletion_patchsrc/reconciler.rs:1026 | fn | 33 | 1 | 0 | 1 | 0.5 | |
| diff_handles_keyed_list_reorderingsrc/reconciler.rs:1061 | fn | 36 | 1 | 0 | 1 | 0.5 | |
| rendered_tree_store_round_trips_and_removessrc/reconciler.rs:1099 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| diff_replaces_non_object_valuessrc/reconciler.rs:1113 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| diff_handles_added_and_removed_propssrc/reconciler.rs:1118 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| diff_keeps_stable_custom_props_while_removing_standard_propssrc/reconciler.rs:1127 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| diff_handles_child_insert_and_remove_without_existing_childrensrc/reconciler.rs:1137 | fn | 16 | 1 | 0 | 1 | 0.5 | |
| diff_handles_unkeyed_child_length_changessrc/reconciler.rs:1155 | fn | 28 | 1 | 0 | 1 | 0.5 | |
| pre_collected_states_are_the_server_markers_after_a_json_round_tripsrc/reconciler.rs:1187 | fn | 14 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.