Function flexi_parse::parse_source

source ·
pub fn parse_source<T: Parse>(source: Arc<SourceFile>) -> Result<T>
Expand description

Scans and parses the given source file into the syntax tree node T.

This function ignores all whitespace.

Errors

Forwards any errors from T::parse.