Crate schema_ast

source ·
Expand description

The Prisma Schema AST.

Modules

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

Structs

Functions

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