Function 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.