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

Method indent

src/ast/list.rs:63–74  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::ListItem}; let item = Org::parse("- 1").first_node:: ().unwrap(); assert_eq!(item.indent(), 0); let item = Org::parse(" \t * 2").first_node:: ().unwrap(); assert_eq!(item.indent(), 3); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

eventMethod · 0.80

Calls 2

filter_tokenFunction · 0.85
lenMethod · 0.80

Tested by

no test coverage detected