PATH:
home
/
lab2454c
/
omvstudio.com
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Node
/
Expr
<?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 raw arguments, which may be actual Args, or VariadicPlaceholders for first-class * callables. * * @return array<Arg|VariadicPlaceholder> */ abstract public function getRawArgs(): array; /** * Returns whether this call expression is actually a first class callable. */ public function isFirstClassCallable(): bool { foreach ($this->getRawArgs() as $arg) { if ($arg instanceof VariadicPlaceholder) { return true; } } return false; } /** * Assert that this is not a first-class callable and return only ordinary Args. * * @return Arg[] */ public function getArgs(): array { assert(!$this->isFirstClassCallable()); return $this->getRawArgs(); } }
[-] YieldFrom.php
[edit]
[-] Print_.php
[edit]
[-] PreDec.php
[edit]
[-] List_.php
[edit]
[-] ArrowFunction.php
[edit]
[-] Empty_.php
[edit]
[-] AssignRef.php
[edit]
[-] StaticPropertyFetch.php
[edit]
[-] Closure.php
[edit]
[-] FuncCall.php
[edit]
[-] Cast.php
[edit]
[-] UnaryPlus.php
[edit]
[-] ClassConstFetch.php
[edit]
[+]
..
[-] Instanceof_.php
[edit]
[-] Throw_.php
[edit]
[-] Exit_.php
[edit]
[-] ArrayDimFetch.php
[edit]
[-] Assign.php
[edit]
[-] PostInc.php
[edit]
[-] Clone_.php
[edit]
[-] CallLike.php
[edit]
[-] ArrayItem.php
[edit]
[-] Match_.php
[edit]
[-] Include_.php
[edit]
[-] AssignOp.php
[edit]
[+]
Cast
[-] BinaryOp.php
[edit]
[-] PreInc.php
[edit]
[-] New_.php
[edit]
[-] Array_.php
[edit]
[-] StaticCall.php
[edit]
[-] Isset_.php
[edit]
[-] Eval_.php
[edit]
[-] ClosureUse.php
[edit]
[-] MethodCall.php
[edit]
[-] ShellExec.php
[edit]
[-] BitwiseNot.php
[edit]
[-] NullsafeMethodCall.php
[edit]
[+]
BinaryOp
[-] Variable.php
[edit]
[-] PostDec.php
[edit]
[-] UnaryMinus.php
[edit]
[-] NullsafePropertyFetch.php
[edit]
[+]
AssignOp
[-] ConstFetch.php
[edit]
[-] BooleanNot.php
[edit]
[-] Ternary.php
[edit]
[-] PropertyFetch.php
[edit]
[-] ErrorSuppress.php
[edit]
[-] Error.php
[edit]
[-] Yield_.php
[edit]