WooCommerce Code Reference

Location
in package

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

Tags
phpstan-type

LocationArray array{start: int, end: int}

Table of Contents

$end  : int
The character offset at which this Node ends.
$endToken  : Token|null
The Token at which this Node ends.
$source  : Source|null
The Source document the AST represents.
$start  : int
The character offset at which this Node begins.
$startToken  : Token|null
The Token at which this Node begins.
__construct()  : mixed
create()  : self
toArray()  : LocationArray

Properties

Methods