Lines Matching refs:stmts
77 $stmts[0]->returnType = new Node\Name('Foo');
78 $stmts[0]->params[0]->type = new Node\Identifier('int');
79 $stmts[0]->params[1]->type = new Node\Identifier('array');
80 $stmts[0]->params[1]->default = new Expr\ConstFetch(new Node\Name('null'));
81 $stmts[1]->expr->dim = new Expr\Variable('a');
82 $stmts[2]->expr->items[0]->key = new Scalar\String_('X');
83 $stmts[3]->expr->returnType = new Node\Name('Bar');
84 $stmts[4]->expr->if = new Expr\Variable('z');
85 $stmts[5]->expr->key = new Expr\Variable('k');
86 $stmts[6]->expr->value = new Expr\Variable('v');
87 $stmts[7]->num = new Scalar\LNumber(2);
88 $stmts[8]->num = new Scalar\LNumber(2);
89 $stmts[9]->expr = new Expr\Variable('x');
90 $stmts[10]->extends = new Node\Name\FullyQualified('Bar');
91 $stmts[10]->stmts[0]->returnType = new Node\Name('Y');
92 $stmts[10]->stmts[1]->props[0]->default = new Scalar\DNumber(42.0);
93 $stmts[10]->stmts[2]->type = new Node\Identifier('int');
94 $stmts[11]->keyVar = new Expr\Variable('z');
95 $stmts[12]->vars[0]->default = new Scalar\String_('abc');
96 $stmts[13]->finally = new Stmt\Finally_([]);
97 $stmts[14]->else = new Stmt\Else_([]);
180 $stmts[0]->name = new Node\Name('Foo');
195 $stmts[0]->catches[0]->var = new Expr\Variable('e');