UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

9 lines (8 loc) 282 B
import * as parser from "./grammar"; import { tokenize } from "./tokenizer"; export function parse(source) { var tokens = tokenize(source); // We pass the source here to show code frames var ast = parser.parse(tokens, source); return ast; } export * from "./number-literals";