Home
last modified time | relevance | path

Searched refs:getStartTokenPos (Results 1 – 12 of 12) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DNode.php60 public function getStartTokenPos(): int; function
H A DNodeAbstract.php61 public function getStartTokenPos(): int { function in PhpParser\\NodeAbstract
H A DComment.php69 public function getStartTokenPos(): int { function in PhpParser\\Comment
H A DPrettyPrinterAbstract.php618 $startPos = $origNode->getStartTokenPos();
686 $subStartPos = $origSubNode->getStartTokenPos();
801 $startPos = $origNodes[0]->getStartTokenPos();
837 $itemStartPos = $origArrItem->getStartTokenPos();
847 … $commentStartPos = $origComments ? $origComments[0]->getStartTokenPos() : $itemStartPos;
950 $itemStartPos = $origArrItem->getStartTokenPos();
957 $itemStartPos = $origComments[0]->getStartTokenPos();
/PHP-Parser/test/PhpParser/
H A DCommentTest.php14 $this->assertSame(2, $comment->getStartTokenPos());
H A DCodeParsingTest.php76 $startTokenPos = $node->getStartTokenPos();
H A DNodeAbstractTest.php59 $this->assertSame(12, $node->getStartTokenPos());
/PHP-Parser/tools/fuzzing/
H A Dtarget.php89 $this->tokens[$node->uses[0]->name->getStartTokenPos()]->is(\T_NAME_FULLY_QUALIFIED)
94 $this->tokens[$node->prefix->getStartTokenPos()]->is(\T_NAME_FULLY_QUALIFIED)
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DCommentAnnotatingVisitor.php43 $this->pos = $pos = $node->getStartTokenPos();
/PHP-Parser/doc/component/
H A DLexer.markdown69 …`: Offset into the token array of the first token in the node. Used by `$node->getStartTokenPos()`.
92 $i = $prop->getStartTokenPos();
/PHP-Parser/
H A DUPGRADE-5.0.md532 …methods have been removed. Use `Comment::getStartLine()`, `Comment::getStartTokenPos()` and `Comme…
H A DCHANGELOG.md152 have been removed. Use `Comment::getStartLine()`, `Comment::getStartTokenPos()` and
786 * Added `getComments()`, `getStartLine()`, `getEndLine()`, `getStartTokenPos()`, `getEndTokenPos()`,

Completed in 16 milliseconds