Lines Matching refs:constType
2183 …public static function createFromExpression(Expr $expr, ?SimpleType $constType, ?string $cConstNam… argument
2248 $constType = ($const->phpDocType ?? $const->type)->tryToSimpleType();
2249 if ($constType) {
2250 if ($constType->isBool()) {
2252 } elseif ($constType->isInt()) {
2254 } elseif ($constType->isFloat()) {
2256 } elseif ($constType->isString()) {
2258 } elseif ($constType->isArray()) {
2274 $constType ?? SimpleType::fromValue($result),
4556 $constType = $type ? Type::fromNode($type) : null;
4561 $constType && !$constType->isNullable()
4563 $simpleType = $constType->tryToSimpleType();
4574 $constType,