Lines Matching refs:new

13 $stmts[0]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
15 $stmts[1]->expr->right = new Expr\BinaryOp\Plus(new Expr\Variable('b'), new Expr\Variable('c'));
17 $stmts[2]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
19 $stmts[3]->expr->cond = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
20 $stmts[3]->expr->if = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
21 $stmts[3]->expr->else = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
23 $stmts[4]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
24 $stmts[5]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
45 new Foo();
52 $stmts[0]->expr->name = new Expr\Variable('a');
53 $stmts[1]->expr->name = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
54 $stmts[2]->expr->var = new Expr\Variable('bar');
55 $stmts[3]->expr->var = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
56 $stmts[4]->expr->name = new Node\Identifier('foo');
59 $stmts[5]->expr->name = new Expr\Variable('bar');
60 $stmts[6]->expr->name = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
61 $stmts[7]->expr->name = new Node\VarLikeIdentifier('bar');
62 $stmts[8]->expr->name = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
63 $stmts[9]->expr->class = new Scalar\String_('Foo');
64 $stmts[10]->expr->class = new Scalar\String_('Foo');
65 $stmts[11]->expr->class = new Expr\ConstFetch(new Node\Name('FOO'));
66 $stmts[12]->expr->class = new Expr\ConstFetch(new Node\Name('FOO'));
67 $stmts[13]->expr->class = new Expr\ConstFetch(new Node\Name('FOO'));
68 $stmts[14]->expr->name = new Expr\Variable('bar');
80 new ('Foo')();