Searched refs:getStartLine (Results 1 – 16 of 16) sorted by relevance
/PHP-Parser/lib/PhpParser/ |
H A D | Error.php | 37 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 D | Node.php | 39 public function getStartLine(): int; function
|
H A D | NodeAbstract.php | 36 public function getStartLine(): int { function in PhpParser\\NodeAbstract
|
H A D | Comment.php | 51 public function getStartLine(): int { function in PhpParser\\Comment
|
H A D | NodeDumper.php | 275 $start = $node->getStartLine();
|
H A D | ParserAbstract.php | 328 if (-1 === $e->getStartLine()) {
|
/PHP-Parser/test/PhpParser/ |
H A D | ErrorTest.php | 15 $this->assertSame(10, $error->getStartLine()); 30 $this->assertSame(15, $error->getStartLine()); 37 $this->assertSame(-1, $error->getStartLine());
|
H A D | CommentTest.php | 12 $this->assertSame(1, $comment->getStartLine());
|
H A D | CodeParsingTest.php | 72 $startLine = $node->getStartLine();
|
H A D | NodeAbstractTest.php | 57 $this->assertSame(10, $node->getStartLine());
|
/PHP-Parser/doc/component/ |
H A D | Error_handling.markdown | 19 echo $e->getRawMessage() . ' from ' . $e->getStartLine() . ':' . $e->getStartColumn($code)
|
H A D | Lexer.markdown | 67 * `startLine`: Line in which the node starts. Used by `$node->getStartLine()`.
|
/PHP-Parser/ |
H A D | UPGRADE-3.0.md | 137 * `Error::getRawLine()`, `Error::setRawLine()`. Use `Error::getStartLine()` and
|
H A D | UPGRADE-5.0.md | 532 … 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 D | CHANGELOG.md | 152 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 D | 2_Usage_of_basic_components.markdown | 213 The pre-defined attributes can also be accessed using `getStartLine()` instead of
|
Completed in 21 milliseconds