Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drash/src/services/graphql/graphql.ts>GraphQL.TokenKind

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
variable GraphQL.TokenKind
import { GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/graphql.ts";
const { TokenKind } = GraphQL;

An exported enum describing the different kinds of tokens that the lexer emits.

type

{ SOF: "<SOF>"; EOF: "<EOF>"; BANG: "!"; DOLLAR: "$"; AMP: "&"; PAREN_L: "("; PAREN_R: ")"; SPREAD: "..."; COLON: ":"; EQUALS: "="; AT: "@"; BRACKET_L: "["; BRACKET_R: "]"; BRACE_L: "{"; PIPE: "|"; BRACE_R: "}"; NAME: "Name"; INT: "Int"; FLOAT: "Float"; STRING: "String"; BLOCK_STRING: "BlockString"; COMMENT: "Comment"; }