classPlatform
final class Platform
implements Platform
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Assembles PostgreSql semantic behavior from independent core contracts.
Methods§
public function __construct(private Dialect $dialect)Retains the public language identity in all semantic types.
Parameters
$dialect | Dialect |
public function parser(?string $version = null): SqlParserConfigures the selected grammar release.
Parameters
$version | ?string |
Returns
SqlParserCalls 1
public function values(string $version): ValueReaderLoads this package's statement construction map for the resolved release.
Parameters
$version | string |
Returns
Calls 4
- static-call ValueReader::fromFile() line 41
- function-call
dirnameline 41 - function-call
basenameline 41 - new TriviaReader line 41
public function defaultSchema(): stringSupplies the default declaration namespace.
Returns
stringpublic function statementNames(): array{string, string}Returns
array{string, string}public function syntax(): SyntaxRulespublic function names(): NameRulespublic function types(): TypeRulespublic function schema(): SchemaRulespublic function query(): QueryRulesPrivate surface 1§
Implementation details, listed for orientation only.
private Dialect $dialectTest cases 68§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
PlatformTestcallsPlatformTestcalls
Other tests reaching this symbol 66
AnalyzerTestcallsSchemaAnalyzerTestcallsValueReaderTestcallsAnalysisExceptionTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsDialectParserTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsIdentitySequenceTestcallsLiteralBinderTestcallsNullFactsTestcallsProjectionBinderTestcallsScopeTestcallsSelectBinderTestcallsSelectModifiersBinderTestcallsSyntaxGuardTestcallsTableResolverTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsNameRulesTestcallsQueryRulesTestcallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsDialectTest::testPlatformBelongsToThisDatabasecallsSchemaTestcallsNameRulesTestcallsQueryRulesTestcallsSchemaRulesTestcallsElementTestcallsStatementTestcallsWriterTestcallsTypeRulesTestcalls