PHP Class GraphQL\Language\AST\Location

Datei anzeigen Open project: webonyx/graphql-php

Public Properties

Property Type Description
$end integer The character offset at which this Node ends.
$endToken GraphQL\Language\Token The Token at which this Node ends.
$source GraphQL\Language\Source | null The Source document the AST represents.
$start integer The character offset at which this Node begins.
$startToken GraphQL\Language\Token The Token at which this Node begins.

Public Methods

Method Description
__construct ( Token $startToken, Token $endToken, Source $source = null )

Method Details

__construct() public method

public __construct ( Token $startToken, Token $endToken, Source $source = null )
$startToken GraphQL\Language\Token
$endToken GraphQL\Language\Token
$source GraphQL\Language\Source

Property Details

$end public_oe property

The character offset at which this Node ends.
public int $end
return integer

$endToken public_oe property

The Token at which this Node ends.
public Token,GraphQL\Language $endToken
return GraphQL\Language\Token

$source public_oe property

The Source document the AST represents.
public Source,GraphQL\Language|null $source
return GraphQL\Language\Source | null

$start public_oe property

The character offset at which this Node begins.
public int $start
return integer

$startToken public_oe property

The Token at which this Node begins.
public Token,GraphQL\Language $startToken
return GraphQL\Language\Token