Skip to main content
enum TokenKind
import { TokenKind } from "https://deno.land/x/kilatgraphql@16.6.0/mod.ts";

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

Members

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