Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/
H A DError.php37 public function getStartLine(): int { function in PhpParser\\Error
135 $this->getStartLine(), $this->getStartColumn($code),
167 if (-1 === $this->getStartLine()) {
170 $this->message .= ' on line ' . $this->getStartLine();
H A DNode.php39 public function getStartLine(): int; function
H A DNodeAbstract.php36 public function getStartLine(): int { function in PhpParser\\NodeAbstract
H A DComment.php51 public function getStartLine(): int { function in PhpParser\\Comment
H A DNodeDumper.php275 $start = $node->getStartLine();
H A DParserAbstract.php328 if (-1 === $e->getStartLine()) {
/PHP-Parser/test/PhpParser/
H A DErrorTest.php15 $this->assertSame(10, $error->getStartLine());
30 $this->assertSame(15, $error->getStartLine());
37 $this->assertSame(-1, $error->getStartLine());
H A DCommentTest.php12 $this->assertSame(1, $comment->getStartLine());
H A DCodeParsingTest.php72 $startLine = $node->getStartLine();
H A DNodeAbstractTest.php57 $this->assertSame(10, $node->getStartLine());
/PHP-Parser/doc/component/
H A DError_handling.markdown19 echo $e->getRawMessage() . ' from ' . $e->getStartLine() . ':' . $e->getStartColumn($code)
H A DLexer.markdown67 * `startLine`: Line in which the node starts. Used by `$node->getStartLine()`.
/PHP-Parser/
H A DUPGRADE-3.0.md137 * `Error::getRawLine()`, `Error::setRawLine()`. Use `Error::getStartLine()` and
H A DUPGRADE-5.0.md532 … and `Comment::getFilePos()` methods have been removed. Use `Comment::getStartLine()`, `Comment::g…
534 * The `Node::getLine()` method has been deprecated. Use `Node::getStartLine()` instead.
H A DCHANGELOG.md152 have been removed. Use `Comment::getStartLine()`, `Comment::getStartTokenPos()` and
157 * The `Node::getLine()` method has been deprecated. Use `Node::getStartLine()` instead.
786 * Added `getComments()`, `getStartLine()`, `getEndLine()`, `getStartTokenPos()`, `getEndTokenPos()`,
1017 `Error::getStartLine()` and `Error::setStartLine()`.
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown213 The pre-defined attributes can also be accessed using `getStartLine()` instead of

Completed in 38 milliseconds