Lines Matching refs:Stmt
9 use PhpParser\Node\Stmt; alias
366 new Stmt\Class_('A'),
367 new Stmt\Interface_('B'),
368 new Stmt\Function_('C'),
369 new Stmt\Const_([
372 new Stmt\Trait_('E'),
373 new Expr\New_(new Stmt\Class_(null)),
374 new Stmt\Enum_('F'),
380 $stmts = $traverser->traverse([new Stmt\Namespace_(new Name('NS'), $nsStmts)]);
389 $stmts = $traverser->traverse([new Stmt\Namespace_(null, $nsStmts)]);
401 new Stmt\Namespace_(new Name('NS'), [
405 new Stmt\Namespace_(null, [
437 new Stmt\Use_([
440 ], Stmt\Use_::TYPE_NORMAL),
444 new Stmt\Use_([
447 ], Stmt\Use_::TYPE_FUNCTION),
451 new Stmt\Use_([
454 ], Stmt\Use_::TYPE_CONSTANT),
535 new Stmt\Namespace_(new Name('Foo'), [
554 new Stmt\Namespace_(new Name('Foo'), [