Lines Matching refs:Use_
41 Stmt\Use_::TYPE_NORMAL => [],
42 Stmt\Use_::TYPE_FUNCTION => [],
43 Stmt\Use_::TYPE_CONSTANT => [],
57 if ($type === Stmt\Use_::TYPE_CONSTANT) {
65 Stmt\Use_::TYPE_NORMAL => '',
66 Stmt\Use_::TYPE_FUNCTION => 'function ',
67 Stmt\Use_::TYPE_CONSTANT => 'const ',
103 if ($type === Stmt\Use_::TYPE_NORMAL && $name->isSpecialClassName()) {
123 if ($type !== Stmt\Use_::TYPE_NORMAL && $name->isUnqualified()) {
145 return $this->getResolvedName($name, Stmt\Use_::TYPE_NORMAL);
159 if ($type === Stmt\Use_::TYPE_NORMAL) {
178 foreach ($this->origAliases[Stmt\Use_::TYPE_NORMAL] as $alias => $orig) {
187 if ($type === Stmt\Use_::TYPE_CONSTANT) {
235 if (isset($this->aliases[Stmt\Use_::TYPE_NORMAL][$checkName])) {
236 $alias = $this->aliases[Stmt\Use_::TYPE_NORMAL][$checkName];
241 $checkName = $type === Stmt\Use_::TYPE_CONSTANT ? $firstPart : strtolower($firstPart);
257 if ($type === Stmt\Use_::TYPE_CONSTANT) {