Lines Matching refs:getAttributes
194 … new Error('Cannot use empty array elements in arrays', $item->getAttributes()));
479 protected function getAttributes(int $tokenStartPos, int $tokenEndPos): array { function in PhpParser\\ParserAbstract
499 return $this->getAttributes($tokenPos, $tokenPos);
576 'No code may exist outside of namespace {}', $stmt->getAttributes()));
635 $attrs = $node->getAttributes();
710 return new Node\Identifier($lowerName, $name->getAttributes());
721 … return $this->getAttributes($this->tokenStartStack[$stackPos], $this->tokenEndStack[$stackPos]);
864 '', $indentLen, $indentChar, true, false, $contents[0]->getAttributes()
874 $i === 0, $isLast, $part->getAttributes()
944 return new Nop($this->getAttributes($tokenStartPos, $tokenEndPos));
986 $item->key, $item->byRef, $item->getAttributes());
989 }, $node->items), ['kind' => Expr\List_::KIND_ARRAY] + $node->getAttributes());
1006 $nopAttrs = $node->stmts[$numStmts - 1]->getAttributes();
1042 $node->default->getAttributes()
1050 'Cannot use try without catch or finally', $node->getAttributes()
1060 'Namespace declarations cannot be nested', $stmt->getAttributes()
1082 $interface->getAttributes()
1094 $node->extends->getAttributes()
1174 $hook->name->getAttributes()));