/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 207 can then be retrieved using `hasAttribute()`, `getAttribute()` and `getAttributes()`.
|
/PHP-Parser/lib/PhpParser/ |
H A D | Error.php | 56 public function getAttributes(): array { function in PhpParser\\Error
|
H A D | NameContext.php | 107 $name->getAttributes() 126 return new FullyQualified($name, $name->getAttributes()); 134 return FullyQualified::concat($this->namespace, $name, $name->getAttributes()); 237 return FullyQualified::concat($alias, $name->slice(1), $name->getAttributes()); 244 … return new FullyQualified($this->aliases[$type][$checkName], $name->getAttributes());
|
H A D | Node.php | 142 public function getAttributes(): array; function
|
H A D | NodeAbstract.php | 167 public function getAttributes(): array { function in PhpParser\\NodeAbstract
|
H A D | NodeDumper.php | 108 foreach ($node->getAttributes() as $key => $value) {
|
H A D | ParserAbstract.php | 499 return $this->getAttributes($tokenPos, $tokenPos); 635 $attrs = $node->getAttributes(); 710 return new Node\Identifier($lowerName, $name->getAttributes()); 874 $i === 0, $isLast, $part->getAttributes() 944 return new Nop($this->getAttributes($tokenStartPos, $tokenEndPos)); 986 $item->key, $item->byRef, $item->getAttributes()); 1006 $nopAttrs = $node->stmts[$numStmts - 1]->getAttributes(); 1042 $node->default->getAttributes() 1050 'Cannot use try without catch or finally', $node->getAttributes() 1082 $interface->getAttributes() [all …]
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | PrintableNewAnonClassNode.php | 60 $class->stmts, $newNode->getAttributes()
|
/PHP-Parser/lib/PhpParser/Lexer/ |
H A D | Emulative.php | 199 $attrs = $error->getAttributes();
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 172 $name, (string) $use->getAlias(), $type, $use->getAttributes() 222 $this->nameContext->getNamespace(), $name, $name->getAttributes())); 242 $this->nameContext->getNamespace(), $name, $name->getAttributes()));
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1409 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1412 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1816 …$self->semValue = new Node\Name('static', $self->getAttributes($self->tokenStartStack[$stackPos-(1… 2280 …$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stack… 2300 …$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stack… 2443 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos… 2446 …$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos… 2449 …$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-… 2473 …Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$st… 2507 …ackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[… [all …]
|
H A D | Php8.php | 1427 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1430 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1834 …$self->semValue = new Node\Name('static', $self->getAttributes($self->tokenStartStack[$stackPos-(1… 2298 …$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stack… 2318 …$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stack… 2461 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos… 2464 …$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos… 2467 …$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-… 2491 …Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$st… 2525 …ackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[… [all …]
|
/PHP-Parser/test/PhpParser/ |
H A D | ErrorTest.php | 14 $this->assertSame($attributes, $error->getAttributes());
|
H A D | NodeAbstractTest.php | 69 $this->assertSame($attributes, $node->getAttributes()); 166 $this->assertEmpty($node->getAttributes()); 186 $node->getAttributes() 200 $node->getAttributes()
|
H A D | ParserTest.php | 66 ], $fn->getAttributes()); 77 ], $param->getAttributes()); 95 ], $echo->getAttributes()); 107 ], $var->getAttributes()); 125 $attributes = $node->getAttributes();
|
/PHP-Parser/test/PhpParser/Lexer/ |
H A D | EmulativeTest.php | 167 $attrs = $error->getAttributes();
|