Lines Matching refs:isBuiltin
226 public bool $isBuiltin; variable in SimpleType
365 protected function __construct(string $name, bool $isBuiltin) { argument
367 $this->isBuiltin = $isBuiltin;
371 …return $this->isBuiltin && in_array($this->name, ["null", "false", "true", "bool", "int", "float"]…
375 return $this->isBuiltin && $this->name === 'null';
379 return $this->isBuiltin && $this->name === 'bool';
383 return $this->isBuiltin && $this->name === 'int';
387 return $this->isBuiltin && $this->name === 'float';
391 return $this->isBuiltin && $this->name === 'string';
395 return $this->isBuiltin && $this->name === 'array';
399 return $this->isBuiltin && $this->name === 'mixed';
403 assert($this->isBuiltin);
439 assert($this->isBuiltin);
476 assert($this->isBuiltin);
489 if (!$this->isBuiltin) {
524 if (!$this->isBuiltin) {
556 return $this->name === $other->name && $this->isBuiltin === $other->isBuiltin;
694 if ($type->isBuiltin) {
2689 if ($value->isUnknownConstValue && ($simpleType === null || !$simpleType->isBuiltin)) {
5043 if ($simpleReturnType->isBuiltin) {
5099 if ($simpleArgType->isBuiltin) {