MCPcopy Index your code
hub / github.com/PoiScript/orgize / level

Method level

src/ast/headline.rs:24–35  ·  view source on GitHub ↗

Return level of this headline ```rust use orgize::{Org, ast::Headline}; let hdl = Org::parse("* ").first_node:: ().unwrap(); assert_eq!(hdl.level(), 1); let hdl = Org::parse("****** hello").first_node:: ().unwrap(); assert_eq!(hdl.level(), 6); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

newMethod · 0.80
eventMethod · 0.80
eventMethod · 0.80
mainFunction · 0.80

Calls 2

filter_tokenFunction · 0.85
lenMethod · 0.80

Tested by

no test coverage detected