Lines Matching refs:node
12 $node = new Property(
17 $this->assertTrue($node->{'is' . $modifier}());
21 $node = new Property(0, []);
23 $this->assertTrue($node->isPublic());
24 $this->assertFalse($node->isProtected());
25 $this->assertFalse($node->isPrivate());
26 $this->assertFalse($node->isStatic());
27 $this->assertFalse($node->isReadonly());
28 $this->assertFalse($node->isPublicSet());
29 $this->assertFalse($node->isProtectedSet());
30 $this->assertFalse($node->isPrivateSet());
34 $node = new Property(Modifiers::STATIC, []);
35 $this->assertTrue($node->isPublic());
36 $this->assertFalse($node->isProtected());
37 $this->assertFalse($node->isPrivate());
38 $this->assertTrue($node->isStatic());
39 $this->assertFalse($node->isReadonly());
53 $node = new Property(Modifiers::PRIVATE_SET, []);
54 $this->assertTrue($node->isPrivateSet());
55 $node = new Property(Modifiers::PROTECTED_SET, []);
56 $this->assertTrue($node->isProtectedSet());
57 $node = new Property(Modifiers::PUBLIC_SET, []);
58 $this->assertTrue($node->isPublicSet());