Function schema_ast::parse_schema
source · pub fn parse_schema(
datamodel_string: &str,
diagnostics: &mut Diagnostics
) -> SchemaAst
Expand description
Parse a PSL string and return its AST.
pub fn parse_schema(
datamodel_string: &str,
diagnostics: &mut Diagnostics
) -> SchemaAst
Parse a PSL string and return its AST.