/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1446 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1449 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1525 …getAttributes($self->tokenStartStack[$stackPos-(6-4)], $self->tokenEndStack[$stackPos-(6-4)])), [… 1865 …$self->semValue = new Node\Name('static', $self->getAttributes($self->tokenStartStack[$stackPos-(1… 2369 …$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stack… 2529 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos… 2532 …$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos… 2535 …$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-… 2562 …Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$st… 2596 …ackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[… [all …]
|
H A D | Php8.php | 1441 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1444 …>getAttributes($self->tokenStartStack[$stackPos-(3-1)], $self->tokenEndStack[$stackPos-(3-1)])), … 1520 …getAttributes($self->tokenStartStack[$stackPos-(6-4)], $self->tokenEndStack[$stackPos-(6-4)])), [… 1860 …$self->semValue = new Node\Name('static', $self->getAttributes($self->tokenStartStack[$stackPos-(1… 2371 …$attrs = $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[$stack… 2531 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos… 2534 …$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos… 2537 …$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-… 2564 …Expr\Error($self->getAttributes($self->tokenStartStack[$stackPos-(3-3)], $self->tokenEndStack[$st… 2598 …ackPos-(2-2)], $self->getAttributes($self->tokenStartStack[$stackPos-(2-1)], $self->tokenEndStack[… [all …]
|
/PHP-Parser/test/PhpParser/ |
H A D | ParserTestAbstract.php | 66 ], $fn->getAttributes()); 77 ], $param->getAttributes()); 95 ], $echo->getAttributes()); 107 ], $var->getAttributes()); 125 $attributes = $node->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 | ErrorTest.php | 14 $this->assertSame($attributes, $error->getAttributes());
|
/PHP-Parser/lib/PhpParser/ |
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 | 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() 1082 $interface->getAttributes() 1094 $node->extends->getAttributes() [all …]
|
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 | Error.php | 56 public function getAttributes(): array { function in PhpParser\\Error
|
H A D | NodeDumper.php | 108 foreach ($node->getAttributes() as $key => $value) {
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | PrintableNewAnonClassNode.php | 60 $class->stmts, $newNode->getAttributes()
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 178 $name, (string) $use->getAlias(), $type, $use->getAttributes() 228 $this->nameContext->getNamespace(), $name, $name->getAttributes())); 248 $this->nameContext->getNamespace(), $name, $name->getAttributes()));
|
/PHP-Parser/lib/PhpParser/Lexer/ |
H A D | Emulative.php | 199 $attrs = $error->getAttributes();
|
/PHP-Parser/test/PhpParser/Lexer/ |
H A D | EmulativeTest.php | 170 $attrs = $error->getAttributes();
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 207 can then be retrieved using `hasAttribute()`, `getAttribute()` and `getAttributes()`.
|