Skip to main content
Module

x/graphql_tools/deps.ts>Location

[DEPRECATED] 🦕 Useful tools to create and manipulate GraphQL schemas. Deno port of `graphql-tools` library
Latest
class Location
import { Location } from "https://deno.land/x/graphql_tools@0.0.4-deprecated/deps.ts";

Contains a range of UTF-8 character offsets and token references that identify the region of the source from which the AST derived.

Constructors

new
Location(
startToken: Token,
endToken: Token,
source: Source,
)

Properties

readonly
end: number

The character offset at which this Node ends.

readonly
endToken: Token

The Token at which this Node ends.

readonly
source: Source

The Source document the AST represents.

readonly
start: number

The character offset at which this Node begins.

readonly
startToken: Token

The Token at which this Node begins.