classUndeclaredRoutine
final class UndeclaredRoutine
implements MissingInput
uses Snapshot
Public API: explicitly declared with
@visibility public.A function or procedure whose signature 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('score'));
(new \SqlSemantics\Platform\PostgreSql\Model\Statement\Reference\Missing\UndeclaredRoutine($name))->describe() // => 'the signature of routine score'Properties§
public QualifiedName $nameMethods§
public function __construct(public QualifiedName $name)Parameters
$name | QualifiedName | The routine name as the statement wrote it |
public function describe(): stringDescribes the missing signature.
Returns
stringTest cases 14§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Other tests reaching this symbol 14
ComparisonTypingTest::testResultDependsOnTheOperatorWhenTheCatalogHasNoExactOnecallsComparisonTypingTest::testResultPassesOnAnOperandThatIsNotKnowncallsOperatorTypingTest::testNamedDependsOnAnOperatorOutsideThePathcallsOperatorTypingTest::testUndeclaredNamesTheRoutinecallsCallTypingTest::testCallDependsOnTheCurrentDatabaseForACatalogQualifiercallsCallTypingTest::testCallDependsWhenAnotherSchemaIsSearchedFirstcallsCallTypingTest::testInputsMergesTheMissingInputsOfDependentArgumentscallsCoercionsTest::testKeyAnswersTheLookupTypecallsFunctionShapesTest::testDistinctRemovesRepeatedInputscallsBinaryOperationTest::testDeriveScalarDependsOnAnOperatorOutsideTheCatalogcallsFunctionCallTest::testDeriveScalarDependsOnAnUndeclaredRoutinecallsKeywordCallTest::testDeriveScalarLeavesNamedArgumentsToTheRoutinecallsTreatTest::testDeriveScalarDependsOnTheConversionFunctioncallsExtractTest::testDeriveScalarDependsForAnAmbiguousSourcecalls
Relations§
Instantiated in 9
- new SqlSemantics\Platform\PostgreSql\Rules\Expression\ComparisonTyping::result() packages/sql-semantics-postgres/src/Rules/Expression/ComparisonTyping.php:74
- new SqlSemantics\Platform\PostgreSql\Rules\Expression\ComparisonTyping::result() packages/sql-semantics-postgres/src/Rules/Expression/ComparisonTyping.php:79
- new SqlSemantics\Platform\PostgreSql\Rules\Expression\Typing\OperatorTyping::undeclared() packages/sql-semantics-postgres/src/Rules/Expression/Typing/OperatorTyping.php:254
- new SqlSemantics\Platform\PostgreSql\Rules\Invocation\CallTyping::call() packages/sql-semantics-postgres/src/Rules/Invocation/CallTyping.php:73
- new SqlSemantics\Platform\PostgreSql\Rules\Invocation\CallTyping::call() packages/sql-semantics-postgres/src/Rules/Invocation/CallTyping.php:78
- new SqlSemantics\Platform\PostgreSql\Rules\Invocation\CallTyping::catalog() packages/sql-semantics-postgres/src/Rules/Invocation/CallTyping.php:100
- new SqlSemantics\Platform\PostgreSql\Rules\Resolution\FunctionShapes::derive() packages/sql-semantics-postgres/src/Rules/Resolution/FunctionShapes.php:77
- new SqlSemantics\Platform\PostgreSql\Statement\Invocation\Syntax\KeywordCall::deriveScalar() packages/sql-semantics-postgres/src/Statement/Invocation/Syntax/KeywordCall.php:83
- new SqlSemantics\Platform\PostgreSql\Statement\Utility\Call::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Call.php:56