Lines Matching refs:isBuiltin
212 public bool $isBuiltin; variable in SimpleType
356 protected function __construct(string $name, bool $isBuiltin) { argument
358 $this->isBuiltin = $isBuiltin;
362 …return $this->isBuiltin && in_array($this->name, ["null", "false", "true", "bool", "int", "float"]…
366 return $this->isBuiltin && $this->name === 'null';
370 return $this->isBuiltin && $this->name === 'bool';
374 return $this->isBuiltin && $this->name === 'int';
378 return $this->isBuiltin && $this->name === 'float';
382 return $this->isBuiltin && $this->name === 'string';
386 return $this->isBuiltin && $this->name === 'array';
390 assert($this->isBuiltin);
426 assert($this->isBuiltin);
463 assert($this->isBuiltin);
476 if (!$this->isBuiltin) {
511 if (!$this->isBuiltin) {
543 return $this->name === $other->name && $this->isBuiltin === $other->isBuiltin;
679 if ($type->isBuiltin) {
731 if ($type->isBuiltin && strtolower($type->name) === "true") {
1944 if ($type === null || !$type->isBuiltin) {
3810 if ($simpleReturnType->isBuiltin) {
3866 if ($simpleArgType->isBuiltin) {