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

Method language

src/ast/inline_src.rs:16–22  ·  view source on GitHub ↗

Language of the code ```rust use orgize::{Org, ast::InlineSrc}; let s = Org::parse("src_C{int a = 0;}").first_node:: ().unwrap(); assert_eq!(s.language(), "C"); let s = Org::parse("src_xml[:exports code]{ text }").first_node:: ().unwrap(); assert_eq!(s.language(), "xml"); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

filter_tokenFunction · 0.85

Tested by

no test coverage detected