1 | <?php |
||
8 | class Expressions |
||
9 | { |
||
10 | public static function unsetFunc(string $object, string $property): Node\Expr\FuncCall |
||
16 | |||
17 | public static function issetFunc(string $object, string $property): Node\Expr\FuncCall |
||
23 | |||
24 | public static function inConstArrayFunc(string $name, string $object, string $haystackConst): Node\Expr\FuncCall |
||
32 | |||
33 | public static function throwExceptionOnNull(Node\Expr $condition, Node\Stmt $stmt): Node\Stmt\If_ |
||
42 | |||
43 | public static function const(string $name): Node\Expr\ConstFetch |
||
47 | |||
48 | public static function resolveIntoVar(string $var, string $object, string $property, string $method): Node\Stmt\Expression |
||
57 | |||
58 | public static function resolveMethodCall(string $object, string $property, string $method): Node\Expr\MethodCall |
||
62 | |||
63 | public static function resolvePropertyFetch(string $object, string $property): Node\Expr\PropertyFetch |
||
67 | |||
68 | public static function equalsFalse(Node\Expr $expr): Node\Expr\BinaryOp\Identical |
||
72 | |||
73 | public static function notNull(Node\Expr $expr): Node\Expr\BinaryOp\NotIdentical |
||
77 | |||
78 | private static function funcCall(string $name, array $args = [], array $attributes = []): Node\Expr\FuncCall |
||
82 | |||
83 | private static function throwException(string $class, string $message): Node\Stmt\Throw_ |
||
87 | } |