Skip to main content

Crate saola_schema_ast

Crate saola_schema_ast 

Source
Expand description

The Prisma Schema AST.

Modules§

ast
The AST data structure. It aims to faithfully represent the syntax of a Prisma Schema, with source span information.

Structs§

SourceFile
A Prisma schema document.

Functions§

parse_schema
Parse a PSL string and return its AST.
reformat
Reformat a PSL string.
string_literal
Transform the input string into a valid (quoted and escaped) PSL string literal.