2021-10-09 23:37:04 +02:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace PhpParser\Node\Expr;
|
|
|
|
|
|
|
|
use PhpParser\Node\Arg;
|
|
|
|
use PhpParser\Node\Expr;
|
|
|
|
use PhpParser\Node\VariadicPlaceholder;
|
|
|
|
|
|
|
|
abstract class CallLike extends Expr {
|
|
|
|
/**
|
|
|
|
* @return list<Arg|VariadicPlaceholder>
|
|
|
|
*/
|
|
|
|
abstract public function getRawArgs(): array;
|
|
|
|
|
|
|
|
public function isFirstClassCallable(): bool {}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @psalm-pure
|
|
|
|
* @return list<Arg>
|
|
|
|
*/
|
2022-11-05 22:34:42 +01:00
|
|
|
public function getArgs(): array {}
|
2021-10-09 23:37:04 +02:00
|
|
|
}
|
2023-06-28 02:04:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
namespace PhpParser\Node;
|
|
|
|
|
|
|
|
use PhpParser\NodeAbstract;
|
|
|
|
|
|
|
|
class Name extends NodeAbstract {
|
|
|
|
/**
|
|
|
|
* @param string|string[]|self $name
|
|
|
|
* @param array $attributes
|
|
|
|
*/
|
|
|
|
public function __construct($name, array $attributes = []) {}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return non-empty-string
|
|
|
|
*/
|
|
|
|
public function toString(): string {}
|
|
|
|
}
|