1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-view-lib-api/src/view_state.rs
Items
const VIEW_STATE_PROP const VIEW_STATE_DOM_ATTR enum ViewStateScope impl ViewStateScope struct ViewStateSpec impl Default for ViewStateSpec impl ViewStateSpec struct ViewStateBindings struct ViewStateEvent impl ViewStateEvent
Functions
By call-graph weight (PageRank; 1.0 is the average function). 37 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ViewStateEvent::togglesrc/view_state.rs:127 | method | 3 | 1 | 25 | 0 | 15.9 | |
| view_state_from_valuesrc/view_state.rs:144 | fn | 7 | 2 | 4 | 0 | 6.6 | |
| empty_objectsrc/view_state.rs:294 | fn | 3 | 1 | 3 | 0 | 3.6 | |
| ViewStateSpec::defaultsrc/view_state.rs:47 | trait impl | 9 | 1 | 3 | 1 | 2.5 | |
| view_state_from_propssrc/view_state.rs:140 | fn | 3 | 1 | 2 | 1 | 1.9 | |
| read_state_path_partsrc/view_state.rs:231 | fn | 7 | 3 | 1 | 0 | 1.6 | |
| format_state_numbersrc/view_state.rs:274 | fn | 15 | 6 | 1 | 0 | 1.4 | |
| render_state_templatesrc/view_state.rs:170 | fn | 21 | 3 | 3 | 2 | 1.4 | |
| read_state_pathsrc/view_state.rs:219 | fn | 11 | 3 | 3 | 1 | 1.3 | |
| view_state_from_nodesrc/view_state.rs:136 | fn | 3 | 1 | 3 | 1 | 1.1 | |
| ViewStateSpec::storesrc/view_state.rs:63 | method | 3 | 1 | 5 | 1 | 1.1 | |
| format_state_valuesrc/view_state.rs:264 | fn | 9 | 5 | 1 | 1 | 1.1 | |
| view_state_from_node_valuesrc/view_state.rs:163 | fn | 6 | 2 | 2 | 2 | 1 | |
| ViewStateSpec::bind_textsrc/view_state.rs:76 | method | 4 | 1 | 3 | 0 | 0.8 | |
| ensure_objectsrc/view_state.rs:257 | fn | 6 | 2 | 1 | 1 | 0.8 | |
| set_state_pathsrc/view_state.rs:239 | fn | 17 | 4 | 2 | 2 | 0.7 | |
| ViewStateEvent::incrementsrc/view_state.rs:114 | method | 3 | 1 | 2 | 0 | 0.7 | |
| ViewStateSpec::globalsrc/view_state.rs:67 | method | 3 | 1 | 2 | 1 | 0.7 | |
| number_valuesrc/view_state.rs:290 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| ViewStateSpec::localsrc/view_state.rs:59 | method | 3 | 1 | 1 | 1 | 0.6 | |
| ViewStateEvent::bysrc/view_state.rs:122 | method | 4 | 1 | 2 | 0 | 0.6 | |
| apply_state_eventsrc/view_state.rs:192 | fn | 26 | 5 | 2 | 3 | 0.6 | |
| ViewStateSpec::bind_attrsrc/view_state.rs:81 | method | 4 | 1 | 1 | 0 | 0.6 | |
| ViewStateEvent::setsrc/view_state.rs:131 | method | 3 | 1 | 1 | 0 | 0.6 | |
| ViewStateScope::is_sharedsrc/view_state.rs:26 | method | 3 | 1 | 1 | 0 | 0.5 | |
| ViewStateEvent::decrementsrc/view_state.rs:118 | method | 3 | 1 | 1 | 0 | 0.5 | |
| view_state_attr_json_from_valuesrc/view_state.rs:156 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| ViewStateSpec::idsrc/view_state.rs:71 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ViewStateSpec::onsrc/view_state.rs:86 | method | 4 | 1 | 0 | 0 | 0.5 | |
| view_state_attr_jsonsrc/view_state.rs:152 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| parses_view_state_from_cre8_state_propsrc/view_state.rs:305 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| named_state_is_canonical_for_typed_and_untyped_readerssrc/view_state.rs:326 | fn | 18 | 1 | 0 | 5 | 0.5 | |
| renders_template_pathssrc/view_state.rs:346 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| renders_integer_float_state_like_javascript_numberssrc/view_state.rs:357 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| mutates_state_with_event_opssrc/view_state.rs:367 | fn | 12 | 1 | 0 | 5 | 0.5 | |
| builder_helpers_emit_serializable_contractsrc/view_state.rs:381 | fn | 12 | 1 | 0 | 4 | 0.5 | |
| coverage_helpers_cover_shared_scopes_string_props_templates_and_mutation_edgessrc/view_state.rs:395 | fn | 41 | 1 | 0 | 10 | 0.5 |
Source not readable from this process.