php-parser/lib/PHPParser/Node.php
2011-09-21 21:43:19 +02:00

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();
}