Searched refs:hasAttribute (Results 1 – 7 of 7) sorted by relevance
126 public function hasAttribute(string $key): bool; function
271 if (!$node->hasAttribute('startLine') || !$node->hasAttribute('endLine')) {277 if ($node->hasAttribute('startFilePos') && $node->hasAttribute('endFilePos')
155 public function hasAttribute(string $key): bool { function in PhpParser\\NodeAbstract
627 if ($lastStmt->hasAttribute($endAttribute)) {
169 $this->assertTrue($node->hasAttribute('key'));172 $this->assertFalse($node->hasAttribute('doesNotExist'));177 $this->assertTrue($node->hasAttribute('null'));
418 $this->assertFalse($stmts[1]->stmts[0]->name->hasAttribute('namespacedName'));419 $this->assertFalse($stmts[1]->stmts[1]->name->hasAttribute('namespacedName'));564 $this->assertFalse($n2->hasAttribute('resolvedName'));
207 can then be retrieved using `hasAttribute()`, `getAttribute()` and `getAttributes()`.
Completed in 12 milliseconds