Skip to main content

parse_type

Function parse_type 

Source
pub fn parse_type(source: &str) -> Result<TypeExpr, Vec<Diagnostic>>
Expand description

Parses a type by itself ((number, string) -> boolean), the way host declarations and definition strings are written.