MCPcopy Create free account
hub / github.com/PoiScript/orgize / value

Method value

src/ast/block.rs:91–99  ·  view source on GitHub ↗

Return unescaped source code string ```rust use orgize::{Org, ast::SourceBlock}; let block = Org::parse(r#" #+begin_src #+end_src "#).first_node:: ().unwrap(); assert_eq!(block.value(), ""); let block = Org::parse(r#" #+begin_src ,* foo ,#+ bar #+end_src "#).first_node:: ().unwrap(); assert_eq!(block.value(), "* foo\n#+ bar\n"); ````

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

filter_tokenFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected