Skip to main content

parse

Function parse 

Source
pub fn parse(source: impl Into<String>) -> ParsedFile
Expand description

Parse the supported model subset, retaining all tokens even after an error.

This checks syntax only: it does not resolve names, require a solve item, or check types. Unsupported syntax produces diagnostics rather than opaque items.