pub fn parse_string(text: impl Into<Arc<str>>) -> (ParseTree, DiagnosticSet)Expand description
Convenience method to parse a block of FEA from memory.
This is useful for things like testing or syntax highlighting of a single file, but it cannot handle includes, or handle ambiguous glyph names.
The input text can be any of &str, String, or Arc<str>.
ยงPanics
Panics if the input contains any include statements.