Latest
class Location
import { Location } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/language/ast.d.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.