Lines Matching refs:isBuiltin
234 public bool $isBuiltin; variable in SimpleType
373 protected function __construct(string $name, bool $isBuiltin) { argument
375 $this->isBuiltin = $isBuiltin;
379 …return $this->isBuiltin && in_array($this->name, ["null", "false", "true", "bool", "int", "float"]…
383 return $this->isBuiltin && $this->name === 'null';
387 return $this->isBuiltin && $this->name === 'bool';
391 return $this->isBuiltin && $this->name === 'int';
395 return $this->isBuiltin && $this->name === 'float';
399 return $this->isBuiltin && $this->name === 'string';
403 return $this->isBuiltin && $this->name === 'array';
407 return $this->isBuiltin && $this->name === 'mixed';
411 assert($this->isBuiltin);
447 assert($this->isBuiltin);
484 assert($this->isBuiltin);
497 if (!$this->isBuiltin) {
532 if (!$this->isBuiltin) {
564 return $this->name === $other->name && $this->isBuiltin === $other->isBuiltin;
702 if ($type->isBuiltin) {
2694 if ($value->isUnknownConstValue && ($simpleType === null || !$simpleType->isBuiltin)) {
4904 if ($simpleReturnType->isBuiltin) {
4960 if ($simpleArgType->isBuiltin) {