Home
last modified time | relevance | path

Searched refs:getEndLine (Results 1 – 16 of 16) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DToken.php15 public function getEndLine(): int { function in PhpParser\\Token
H A DLexer.php107 'endLine' => $lastToken->getEndLine(),
114 $tokens[] = new Token(0, "\0", $lastToken->getEndLine(), $lastToken->getEndPos());
H A DError.php47 public function getEndLine(): int { function in PhpParser\\Error
136 $this->getEndLine(), $this->getEndColumn($code)
H A DNode.php49 public function getEndLine(): int; function
H A DNodeAbstract.php48 public function getEndLine(): int { function in PhpParser\\NodeAbstract
H A DComment.php79 public function getEndLine(): int { function in PhpParser\\Comment
H A DNodeDumper.php276 $end = $node->getEndLine();
H A DParserAbstract.php895 $token->getEndLine(), $token->getEndPos() - 1, $tokenPos)
897 $token->getEndLine(), $token->getEndPos() - 1, $tokenPos);
926 $commentEndLine = $comment->getEndLine();
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DCommentAnnotatingVisitor.php51 $token->getEndLine(), $token->getEndPos() - 1, $pos);
57 $token->getEndLine(), $token->getEndPos() - 1, $pos);
/PHP-Parser/test/PhpParser/
H A DErrorTest.php16 $this->assertSame(11, $error->getEndLine());
38 $this->assertSame(-1, $error->getEndLine());
H A DCommentTest.php15 $this->assertSame(1, $comment->getEndLine());
H A DCodeParsingTest.php73 $endLine = $node->getEndLine();
H A DNodeAbstractTest.php58 $this->assertSame(11, $node->getEndLine());
/PHP-Parser/doc/component/
H A DError_handling.markdown20 . ' to ' . $e->getEndLine() . ':' . $e->getEndColumn($code);
H A DLexer.markdown68 * `endLine`: Line in which the node ends. Used by `$node->getEndLine()`.
/PHP-Parser/
H A DCHANGELOG.md786 * Added `getComments()`, `getStartLine()`, `getEndLine()`, `getStartTokenPos()`, `getEndTokenPos()`,

Completed in 36 milliseconds