Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/
H A DName.php170 * @param int $offset Offset to start the slice at (may be negative)
175 public function slice(int $offset, ?int $length = null) { argument
176 if ($offset === 1 && $length === null) {
187 $realOffset = $offset < 0 ? $offset + $numParts : $offset;
189 throw new \OutOfBoundsException(sprintf('Offset %d is out of bounds', $offset));
/PHP-Parser/doc/component/
H A DLexer.markdown85 The token offset information is useful if you wish to examine the exact formatting used for a node.…
/PHP-Parser/
H A DCHANGELOG.md611 * Fix "undefined offset" notice when parsing specific malformed code (#551).
657 * Fixed possible undefined offset notice in formatting-preserving printer. (#513)
1108 * Added start file offset information to `Comment` nodes.
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown361 * An array of nodes, which will be merged into the parent array at the offset of the current node.

Completed in 9 milliseconds