webql/compiler
Copy MarkdownTypes
Compiler
pub opaque type CompilerValues
compile
pub fn compile(
compiler: Compiler,
source: String,
) -> Result(graph.Graph, diagnostic.Diagnostic)Compiles a text source into a finalized document.
new
pub fn new(schema: introspection.Schema) -> CompilerCreates a compiler instance with resolver context.