mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-12 09:09:41 +01:00
25 lines
432 B
PHP
25 lines
432 B
PHP
<?php
|
|
|
|
interface PHPParser_Node
|
|
{
|
|
/**
|
|
* Gets the type of the node.
|
|
*
|
|
* @return string Type of the node
|
|
*/
|
|
public function getType();
|
|
|
|
/**
|
|
* Gets line the node started in.
|
|
*
|
|
* @return int Line
|
|
*/
|
|
public function getLine();
|
|
|
|
/**
|
|
* Gets the nearest doc comment.
|
|
*
|
|
* @return null|string Nearest doc comment or null
|
|
*/
|
|
public function getDocComment();
|
|
} |