Home
last modified time | relevance | path

Searched refs:hasAttribute (Results 1 – 7 of 7) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DNode.php126 public function hasAttribute(string $key): bool; function
H A DNodeDumper.php271 if (!$node->hasAttribute('startLine') || !$node->hasAttribute('endLine')) {
277 if ($node->hasAttribute('startFilePos') && $node->hasAttribute('endFilePos')
H A DNodeAbstract.php155 public function hasAttribute(string $key): bool { function in PhpParser\\NodeAbstract
H A DParserAbstract.php627 if ($lastStmt->hasAttribute($endAttribute)) {
/PHP-Parser/test/PhpParser/
H A DNodeAbstractTest.php169 $this->assertTrue($node->hasAttribute('key'));
172 $this->assertFalse($node->hasAttribute('doesNotExist'));
177 $this->assertTrue($node->hasAttribute('null'));
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php418 $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'));
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown207 can then be retrieved using `hasAttribute()`, `getAttribute()` and `getAttributes()`.

Completed in 15 milliseconds