1 | <?php |
||
10 | class CallExpression extends Node |
||
11 | { |
||
12 | /** |
||
13 | * @var Node |
||
14 | */ |
||
15 | private $callee; |
||
16 | |||
17 | /** |
||
18 | * @var Node[] |
||
19 | */ |
||
20 | private $arguments; |
||
21 | |||
22 | /** |
||
23 | * @param Node $callee |
||
24 | * @param Node[] $arguments |
||
25 | */ |
||
26 | public function __construct(Node $callee, array $arguments) |
||
31 | |||
32 | /** |
||
33 | * @return Node |
||
34 | */ |
||
35 | public function getCallee(): Node |
||
39 | |||
40 | /** |
||
41 | * @return Node[] |
||
42 | */ |
||
43 | public function getArguments(): array |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function __toString() |
||
60 | |||
61 | /** |
||
62 | * @param Frame $frame |
||
63 | * @return mixed |
||
64 | * @throws EvaluatorException |
||
65 | */ |
||
66 | public function evaluate(Frame $frame) |
||
76 | |||
77 | /** |
||
78 | * @param Frame $frame |
||
79 | * @return CallExpression |
||
80 | */ |
||
81 | public function close(Frame $frame) |
||
89 | } |
||
90 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.