Lines Matching refs:Stmt
14 use PhpParser\Node\Stmt; alias
15 use PhpParser\Node\Stmt\ClassConst;
16 use PhpParser\Node\Stmt\ClassMethod;
17 use PhpParser\Node\Stmt\Property;
19 use PhpParser\Node\Stmt\TraitUse;
27 $method1 = new Stmt\ClassMethod('test1');
28 $method2 = new Stmt\ClassMethod('test2');
29 $method3 = new Stmt\ClassMethod('test3');
30 $prop = new Stmt\Property(Modifiers::PUBLIC, [
34 $use = new Stmt\TraitUse([new Name('OtherTrait')]);
43 $this->assertEquals(new Stmt\Trait_('TestTrait', [
56 ->addStmt(new Stmt\Echo_([]))
66 $trait = new Stmt\Trait_('Foo', [
85 $trait = new Stmt\Trait_('Foo', [
111 new Stmt\Trait_(