Lines Matching refs:attrs
635 $attrs = $node->getAttributes();
637 if (isset($attrs['startLine'])) {
638 $attrs['endLine'] = $attrs['startLine'];
640 if (isset($attrs['startTokenPos'])) {
641 $attrs['endTokenPos'] = $attrs['startTokenPos'];
643 if (isset($attrs['startFilePos'])) {
644 $attrs['endFilePos'] = $attrs['startFilePos'] + \strlen('namespace') - 1;
646 return $attrs;
1214 protected function createExitExpr(string $name, int $namePos, array $args, array $attrs): Expr { argument
1217 … $attrs['kind'] = strtolower($name) === 'exit' ? Expr\Exit_::KIND_EXIT : Expr\Exit_::KIND_DIE;
1218 return new Expr\Exit_(\count($args) === 1 ? $args[0]->value : null, $attrs);
1220 return new Expr\FuncCall(new Name($name, $this->getAttributesAt($namePos)), $args, $attrs);