Skip to main content

parse_ast

Function parse_ast 

Source
pub fn parse_ast(
    file_name: &str,
    source: &str,
) -> Result<Ast, Box<SchemaErrors>>
Expand description

Parses a schema without validating it, for tests and tooling that need the syntax tree rather than the IR.

ยงErrors

Returns the syntax error, phrased for humans.