Lines Matching refs:node
15 $node = new ClassMethod('foo', [
19 $this->assertTrue($node->{'is' . $modifier}());
23 $node = new ClassMethod('foo', ['type' => 0]);
25 $this->assertTrue($node->isPublic());
26 $this->assertFalse($node->isProtected());
27 $this->assertFalse($node->isPrivate());
28 $this->assertFalse($node->isAbstract());
29 $this->assertFalse($node->isFinal());
30 $this->assertFalse($node->isStatic());
31 $this->assertFalse($node->isMagic());
53 $node = new ClassMethod('foo', [
57 $this->assertTrue($node->isPublic(), 'Node should be implicitly public');
74 $node = new ClassMethod($name);
75 $this->assertTrue($node->isMagic(), 'Method should be magic');