1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
crates/cre8-doc-spec/src/tree.rs
Items
struct DocNode enum NodeBody struct ProseLeaf impl ProseLeaf struct PassageRef enum DocNodeKind const DOC_NODE_HEADING_LEVELS impl DocNodeKind impl DocNode
Functions
By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| DocNodeKind::heading_levelsrc/tree.rs:141 | method | 3 | 1 | 2 | 0 | 1.9 | |
| ProseLeaf::textsrc/tree.rs:72 | method | 3 | 1 | 1 | 0 | 1.1 | |
| DocNode::collect_leavessrc/tree.rs:216 | method | 10 | 3 | 1 | 0 | 1 | |
| DocNode::leafsrc/tree.rs:148 | method | 11 | 1 | 2 | 1 | 0.7 | |
| DocNode::branchsrc/tree.rs:161 | method | 11 | 1 | 2 | 0 | 0.7 | |
| DocNode::node_countsrc/tree.rs:194 | method | 6 | 2 | 1 | 0 | 0.6 | |
| DocNode::leavessrc/tree.rs:210 | method | 5 | 1 | 1 | 1 | 0.6 | |
| DocNode::with_headingsrc/tree.rs:174 | method | 4 | 1 | 1 | 0 | 0.6 | |
| DocNode::with_intentsrc/tree.rs:180 | method | 4 | 1 | 1 | 0 | 0.6 | |
| ProseLeaf::word_countsrc/tree.rs:77 | method | 3 | 1 | 0 | 0 | 0.5 | |
| DocNode::leaf_countsrc/tree.rs:186 | method | 6 | 2 | 0 | 0 | 0.5 | |
| DocNode::word_countsrc/tree.rs:202 | method | 6 | 2 | 0 | 0 | 0.5 |
Source not readable from this process.