classUndeclaredDomain
final class UndeclaredDomain
implements MissingInput
uses Snapshot
Public API: explicitly declared with
@visibility public.A named data type that is neither fixed by the language profile nor declared in the context.
$name = new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\QualifiedName(new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('mood'));
(new \SqlSemantics\Platform\PostgreSql\Model\Statement\Reference\Missing\UndeclaredDomain($name))->describe() // => 'the definition of data type mood'Properties§
public QualifiedName $nameMethods§
public function __construct(public QualifiedName $name)Parameters
$name | QualifiedName | The type name as the statement wrote it |
public function describe(): stringDescribes the missing definition.
Returns
stringTest cases 9§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Other tests reaching this symbol 9
IdentityColumnsTest::testCheckAdmitsTheIntegerTypesAndTypesKnownByNamecallsDeclaredTypingTest::testDefinedKeepsTheMissingInputsOfADependentOutputcallsDeclaredTypingTest::testFactDependsOnTheMissingInputsOfAnUndeterminedTypecallsDeclaredTypingTest::testFactDependsOnTheMissingInputsOfATypeKnownByNameOnlycallsTypeLookupTest::testFindNamesAUserTypeAsTheMissingInputcallsNamedOnPathTest::testNameJoinsTheWrittenPartscallsNamedOnPathTest::testNameOfAnUnqualifiedTypeIsTheNamecallsUndeterminedTest::testNameDescribesTheMissingInputscallsUndeterminedTest::testNameJoinsSeveralMissingInputscalls
Relations§
Instantiated in 6
- new SqlSemantics\Platform\PostgreSql\Rules\Catalog\DomainInput::undeclared() packages/sql-semantics-postgres/src/Rules/Catalog/DomainInput.php:65
- new SqlSemantics\Platform\PostgreSql\Rules\Typing\TypeLookup::find() packages/sql-semantics-postgres/src/Rules/Typing/TypeLookup.php:62
- new SqlSemantics\Platform\PostgreSql\Rules\Typing\TypeLookup::find() packages/sql-semantics-postgres/src/Rules/Typing/TypeLookup.php:66
- new SqlSemantics\Platform\PostgreSql\Rules\Typing\TypeLookup::find() packages/sql-semantics-postgres/src/Rules/Typing/TypeLookup.php:69
- new SqlSemantics\Platform\PostgreSql\Rules\Typing\TypeLookup::find() packages/sql-semantics-postgres/src/Rules/Typing/TypeLookup.php:77
- new SqlSemantics\Platform\PostgreSql\Rules\Typing\TypeLookup::find() packages/sql-semantics-postgres/src/Rules/Typing/TypeLookup.php:84