1 viewer
rust 1,880,524 · typescript 232,735 · javascript 134,853 · python 22,539 · 6,529 files · digest 0753164a9f64 · built in 15.6 s · crystals off
crates/cre8-app-view-lib/src/component_playground.rs
Items
const PLAYGROUND_ID const PLAYGROUND_PATH const RENDER_CONNECTION const MAX_SOURCE_BYTES const MAX_NODES const MAX_DEPTH const STYLE const PAGE_SCRIPT struct Diagnostic impl Diagnostic struct ParsedDeclaration struct Parser type Parsed impl Parser struct Lint impl Lint
Functions
By call-graph weight (PageRank; 1.0 is the average function). 51 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Parser::peeksrc/component_playground.rs:101 | method | 3 | 1 | 8 | 0 | 21 | |
| Parser::take_whilesrc/component_playground.rs:131 | method | 7 | 2 | 31 | 1 | 18.8 | |
| Parser::documentsrc/component_playground.rs:139 | method | 13 | 3 | 10 | 4 | 7.4 | |
| Parser::failsrc/component_playground.rs:96 | method | 4 | 1 | 8 | 2 | 3.9 | |
| evaluatesrc/component_playground.rs:670 | fn | 37 | 4 | 7 | 8 | 3.1 | |
| Diagnostic::errorsrc/component_playground.rs:53 | method | 3 | 1 | 3 | 0 | 2.7 | |
| Parser::skip_whitespacesrc/component_playground.rs:116 | method | 5 | 2 | 4 | 1 | 2.4 | |
| Parser::line_colsrc/component_playground.rs:82 | method | 13 | 3 | 2 | 0 | 2.3 | |
| Parser::elementsrc/component_playground.rs:153 | method | 71 | 14 | 2 | 11 | 2.2 | |
| distancesrc/component_playground.rs:481 | fn | 15 | 4 | 3 | 0 | 1.9 | |
| marksrc/component_playground.rs:455 | nested fn | 12 | 5 | 1 | 0 | 1.6 | |
| parse_jsxsrc/component_playground.rs:447 | fn | 5 | 1 | 4 | 2 | 1.3 | |
| node_from_loose_jsonsrc/component_playground.rs:454 | fn | 17 | 1 | 2 | 1 | 1.3 | |
| Parser::starts_withsrc/component_playground.rs:105 | method | 10 | 3 | 3 | 0 | 1.2 | |
| render_requestsrc/component_playground.rs:709 | fn | 6 | 2 | 2 | 1 | 1.1 | |
| Parser::newsrc/component_playground.rs:78 | method | 3 | 1 | 2 | 0 | 1.1 | |
| props_reference_htmlsrc/component_playground.rs:724 | fn | 43 | 9 | 2 | 3 | 0.9 | |
| Parser::expectsrc/component_playground.rs:122 | method | 8 | 2 | 3 | 2 | 0.8 | |
| Diagnostic::to_jsonsrc/component_playground.rs:57 | method | 3 | 1 | 1 | 0 | 0.8 | |
| count_nodessrc/component_playground.rs:472 | fn | 7 | 2 | 1 | 0 | 0.8 | |
| lintsrc/component_playground.rs:610 | fn | 7 | 1 | 1 | 1 | 0.8 | |
| distinct_tagssrc/component_playground.rs:618 | fn | 10 | 4 | 1 | 0 | 0.8 | |
| read_declarationsrc/component_playground.rs:629 | fn | 26 | 5 | 1 | 3 | 0.8 | |
| nearestsrc/component_playground.rs:499 | fn | 7 | 2 | 2 | 1 | 0.8 | |
| Lint::findingsrc/component_playground.rs:516 | method | 3 | 1 | 2 | 0 | 0.8 | |
| Parser::hex4src/component_playground.rs:419 | method | 10 | 3 | 1 | 1 | 0.8 | |
| prop_type_labelsrc/component_playground.rs:716 | fn | 5 | 2 | 1 | 0 | 0.8 | |
| Parser::valuesrc/component_playground.rs:276 | method | 89 | 33 | 2 | 7 | 0.8 | |
| playgroundsrc/component_playground.rs:847 | fn | 22 | 1 | 2 | 7 | 0.7 | |
| playground_documentsrc/component_playground.rs:872 | fn | 21 | 2 | 1 | 5 | 0.7 | |
| playground_pathsrc/component_playground.rs:38 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| Parser::block_commentsrc/component_playground.rs:225 | method | 12 | 4 | 1 | 2 | 0.7 | |
| Parser::attributesrc/component_playground.rs:238 | method | 35 | 7 | 1 | 6 | 0.7 | |
| child_from_valuesrc/component_playground.rs:433 | fn | 11 | 5 | 1 | 1 | 0.7 | |
| Parser::unicode_escapesrc/component_playground.rs:403 | method | 15 | 4 | 1 | 2 | 0.7 | |
| frame_documentsrc/component_playground.rs:659 | fn | 8 | 1 | 1 | 1 | 0.6 | |
| problems_htmlsrc/component_playground.rs:768 | fn | 17 | 2 | 1 | 0 | 0.6 | |
| togglesrc/component_playground.rs:786 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| Parser::stringsrc/component_playground.rs:366 | method | 34 | 9 | 1 | 3 | 0.6 | |
| workspace_htmlsrc/component_playground.rs:793 | fn | 52 | 1 | 1 | 4 | 0.6 | |
| without_null_propssrc/component_playground.rs:898 | fn | 16 | 3 | 1 | 0 | 0.6 | |
| Lint::propssrc/component_playground.rs:556 | method | 49 | 14 | 1 | 2 | 0.6 | |
| Lint::nodesrc/component_playground.rs:520 | method | 31 | 9 | 0 | 6 | 0.5 | |
| every_catalog_sample_reads_back_from_its_printed_declarationsrc/component_playground.rs:918 | fn | 10 | 2 | 0 | 5 | 0.5 | |
| evaluation_renders_through_the_shared_writerssrc/component_playground.rs:930 | fn | 12 | 1 | 0 | 5 | 0.5 | |
| json_declarations_do_not_need_kindsrc/component_playground.rs:944 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| parse_errors_name_the_line_and_the_fixsrc/component_playground.rs:953 | fn | 20 | 2 | 0 | 1 | 0.5 | |
| braces_take_literals_comments_and_nested_elementssrc/component_playground.rs:975 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| lint_reports_what_the_manifest_declaressrc/component_playground.rs:992 | fn | 27 | 1 | 0 | 1 | 0.5 | |
| hostile_input_is_refused_not_followedsrc/component_playground.rs:1021 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| playground_page_opens_on_the_sample_already_renderedsrc/component_playground.rs:1033 | fn | 12 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.