2011-06-05 18:40:04 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2011-08-11 10:25:51 +02:00
|
|
|
* @property PHPParser_Node_Name|PHPParser_Node_Expr $name Function name
|
2011-09-22 20:34:35 +02:00
|
|
|
* @property PHPParser_Node_Arg[] $args Arguments
|
2011-06-05 18:40:04 +02:00
|
|
|
*/
|
|
|
|
class PHPParser_Node_Expr_FuncCall extends PHPParser_Node_Expr
|
|
|
|
{
|
2011-08-11 10:25:51 +02:00
|
|
|
/**
|
|
|
|
* Constructs a function call node.
|
|
|
|
*
|
|
|
|
* @param PHPParser_Node_Name|PHPParser_Node_Expr $name Function name
|
2011-09-22 20:34:35 +02:00
|
|
|
* @param PHPParser_Node_Arg[] $args Arguments
|
2011-08-11 10:25:51 +02:00
|
|
|
* @param int $line Line
|
|
|
|
* @param null|string $docComment Nearest doc comment
|
|
|
|
*/
|
|
|
|
public function __construct($name, array $args = array(), $line = -1, $docComment = null) {
|
|
|
|
parent::__construct(
|
|
|
|
array(
|
|
|
|
'name' => $name,
|
|
|
|
'args' => $args
|
|
|
|
),
|
|
|
|
$line, $docComment
|
|
|
|
);
|
|
|
|
}
|
2011-06-05 18:40:04 +02:00
|
|
|
}
|