[][src]Function sdlang::parse_text

pub fn parse_text(data: &str) -> Result<Tag>

Parses the given text into a root tag.

The name of the root tag is "" (nothing); It has no namespace, values, or attributes; it only has a list of child tags.