Automattic\WooCommerce\Vendor\GraphQL\Language
Token::__construct
Method of the class: Token{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Token = new Token(); $Token->__construct( $kind, $start, $end, $line, $column, ?Token $previous, ?string $value );
- $kind(string) (required)
- .
- $start(int) (required)
- .
- $end(int) (required)
- .
- $line(int) (required)
- .
- $column(int) (required)
- .
- ?Token $previous
- .
Default:null - ?string $value
- .
Default:null
Token::__construct() Token:: construct code WC 10.8.1
public function __construct(string $kind, int $start, int $end, int $line, int $column, ?Token $previous = null, ?string $value = null)
{
$this->kind = $kind;
$this->start = $start;
$this->end = $end;
$this->line = $line;
$this->column = $column;
$this->prev = $previous;
$this->value = $value;
}