示例#1
0
 public function walkArgument(ArgumentExpression $expression)
 {
     return $expression->update($this->walk($expression->getValue()), $expression->isUnpacked());
 }
示例#2
0
 public function __construct(Expression $nameExpression, array $argumentExpressions = [])
 {
     $this->name = $nameExpression;
     $this->arguments = self::verifyAll($argumentExpressions, ArgumentExpression::getType());
 }
示例#3
0
 public function __construct(Expression $value, array $arguments)
 {
     parent::__construct($value);
     $this->arguments = self::verifyAll($arguments, ArgumentExpression::getType());
 }
 public function __construct(Expression $class, Expression $name, array $arguments = [])
 {
     parent::__construct($class);
     $this->name = $name;
     $this->arguments = self::verifyAll($arguments, ArgumentExpression::getType());
 }