Function parse_str

Source
pub fn parse_str(source: &str) -> Result<TranslationUnit, Error>
Expand description

Parse a string into a syntax tree (TranslationUnit).

Identical to TranslationUnit::from_str.