Lines Matching refs:getAttributes
194 … new Error('Cannot use empty array elements in arrays', $item->getAttributes()));
481 protected function getAttributes(int $tokenStartPos, int $tokenEndPos): array { function in PhpParser\\ParserAbstract
501 return $this->getAttributes($tokenPos, $tokenPos);
578 'No code may exist outside of namespace {}', $stmt->getAttributes()));
637 $attrs = $node->getAttributes();
712 return new Node\Identifier($lowerName, $name->getAttributes());
723 … return $this->getAttributes($this->tokenStartStack[$stackPos], $this->tokenEndStack[$stackPos]);
866 '', $indentLen, $indentChar, true, false, $contents[0]->getAttributes()
876 $i === 0, $isLast, $part->getAttributes()
946 return new Nop($this->getAttributes($tokenStartPos, $tokenEndPos));
988 $item->key, $item->byRef, $item->getAttributes());
991 }, $node->items), ['kind' => Expr\List_::KIND_ARRAY] + $node->getAttributes());
1008 $nopAttrs = $node->stmts[$numStmts - 1]->getAttributes();
1044 $node->default->getAttributes()
1052 'Cannot use try without catch or finally', $node->getAttributes()
1062 'Namespace declarations cannot be nested', $stmt->getAttributes()
1084 $interface->getAttributes()
1096 $node->extends->getAttributes()
1176 $hook->name->getAttributes()));