Skip to content
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

cre8-doc-spec · module tree · src · 226 lines (152 code, 54 comment) · sha 285373241c43dd44

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
DocNodeKind::heading_levelsrc/tree.rs:141method31201.9
ProseLeaf::textsrc/tree.rs:72method31101.1
DocNode::collect_leavessrc/tree.rs:216method103101
DocNode::leafsrc/tree.rs:148method111210.7
DocNode::branchsrc/tree.rs:161method111200.7
DocNode::node_countsrc/tree.rs:194method62100.6
DocNode::leavessrc/tree.rs:210method51110.6
DocNode::with_headingsrc/tree.rs:174method41100.6
DocNode::with_intentsrc/tree.rs:180method41100.6
ProseLeaf::word_countsrc/tree.rs:77method31000.5
DocNode::leaf_countsrc/tree.rs:186method62000.5
DocNode::word_countsrc/tree.rs:202method62000.5

Source not readable from this process.