Function simpleml::parse

source ·
pub fn parse(
    source_text: &str
) -> Result<TreeNode<SMLElement<Cow<'_, str>>>, ParseError>
Expand description

Parses the Simple Markup Language text into a tree of SMLElements. For details about how to use TreeNode, see tree_iterators_rs and the documentation related to that crate.