classProjectionBinder
final class ProjectionBinder
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Binds output expressions and expands stars in declaration order.
Methods§
public function bind(Node $select, Scope $scope): list<OutputColumn>Returns
list<OutputColumn>Called from 1
Calls 7
- static-call Tree::child() line 26
- static-call Tree::text() line 27
- method-call ProjectionBinder::star() line 28
- static-call Tree::unsupported() line 30
- function-call
array_pushline 34 - method-call ProjectionBinder::item() line 34
- function-call
countline 34
public function item(Node $item, Scope $scope, int $ordinal): list<OutputColumn>Returns
list<OutputColumn>Called from 1
Calls 8
- static-call Tree::child() line 45
- function-call
countline 48 - function-call
array_sliceline 50 - method-call ProjectionBinder::star() line 55
- static-call Tree::unsupported() line 58
- method-call ExpressionBinder::bind() line 60
- new ExpressionBinder line 60
- new OutputColumn line 68
public function star(
list<string> $qualifiers,
Scope $scope,
Node $source,
int $ordinal,
): list<OutputColumn>Returns
list<OutputColumn>Throws
Called from 2
Calls 5
- method-call Scope::matches() line 80
- method-call Scope::column() line 84
- new OutputColumn line 85
- function-call
countline 85 - new SemanticException line 89
Test cases 60§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
ProjectionBinderTestcalls
Other tests reaching this symbol 59
SchemaAnalyzerTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsIdentitySequenceTestcallsLiteralBinderTestcallsNullFactsTestcallsScopeTestcallsSelectBinderTestcallsSelectModifiersBinderTestcallsSyntaxGuardTestcallsTableResolverTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsPlatformTestcallsNameRulesTestcallsQueryRulesTestcallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsSchemaTestcallsNameRulesTestcallsPlatformTestcallsQueryRulesTestcallsSchemaRulesTestcallsTypeRulesTestcalls