Lines Matching refs:Stmt
14 use PhpParser\Node\Stmt; alias
28 $this->assertInstanceOf(Stmt\Interface_::class, $contract);
36 new Stmt\Interface_('Contract', [
46 $method = new Stmt\ClassMethod('doSomething');
52 $const = new Stmt\ClassConst([
60 $const = new Stmt\ClassConst([
63 $method = new Stmt\ClassMethod('doSomething');
70 $this->assertInstanceOf(Stmt\ClassConst::class, $contract->stmts[0]);
71 $this->assertInstanceOf(Stmt\ClassMethod::class, $contract->stmts[1]);
79 $this->assertEquals(new Stmt\Interface_('Contract', [], [
95 $this->assertEquals(new Stmt\Interface_('Contract', [
107 $const = new Stmt\ClassConst([
110 $method = new Stmt\ClassMethod('doSomething');