Module

x/graphql_deno/lib/language/ast.js>Token

GraphQL-JS ported to Deno
Latest
class Token
import { Token } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/language/ast.js";

Represents a range of characters represented by a lexical token within a Source.

Constructors

new
Token(
kind,
start,
end,
line,
column,
prev,
value,
)

Tokens exist as nodes in a double-linked-list amongst all tokens including ignored tokens. is always the first node and the last.