interfaceDialect
interface Dialect
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
A language identity and the semantic policies supplied for it.
Methods§
public function platform(): PlatformSupplies semantic behavior without core selecting an implementation.
Returns
Called from 25
- method-call SqlSemantics\Core\Analysis\Analyzer::__construct() packages/sql-semantics/src/Core/Analysis/Analyzer.php:29
- method-call SqlSemantics\Core\Analysis\SchemaAnalyzer::__construct() packages/sql-semantics/src/Core/Analysis/SchemaAnalyzer.php:29
- method-call SqlSemantics\Core\Analysis\SchemaAnalyzer::read() packages/sql-semantics/src/Core/Analysis/SchemaAnalyzer.php:58
- method-call SqlSemantics\Core\Ast\DialectParser::__construct() packages/sql-semantics/src/Core/Ast/DialectParser.php:25
- method-call SqlSemantics\Core\Ast\Identifiers::name() packages/sql-semantics/src/Core/Ast/Identifiers.php:30
- method-call SqlSemantics\Core\Ast\Identifiers::equal() packages/sql-semantics/src/Core/Ast/Identifiers.php:53
- method-call SqlSemantics\Core\Ast\Identifiers::relationEqual() packages/sql-semantics/src/Core/Ast/Identifiers.php:61
- method-call SqlSemantics\Core\Ast\StatementList::read() packages/sql-semantics/src/Core/Ast/StatementList.php:24
- method-call SqlSemantics\Core\Ast\StatementList::read() packages/sql-semantics/src/Core/Ast/StatementList.php:25
- method-call SqlSemantics\Core\Ast\StatementList::read() packages/sql-semantics/src/Core/Ast/StatementList.php:28
- method-call SqlSemantics\Core\Ast\TypeReader::read() packages/sql-semantics/src/Core/Ast/TypeReader.php:30
- method-call SqlSemantics\Core\Ast\TypeReader::canonical() packages/sql-semantics/src/Core/Ast/TypeReader.php:38
- method-call SqlSemantics\Core\Ast\TypeReader::affinity() packages/sql-semantics/src/Core/Ast/TypeReader.php:46
- method-call SqlSemantics\Core\Binding\ExpressionRules::call() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:41
- method-call SqlSemantics\Core\Binding\ExpressionRules::arithmetic() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:108
- method-call SqlSemantics\Core\Binding\ExpressionRules::predicate() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:116
- method-call SqlSemantics\Core\Binding\LiteralBinder::bind() packages/sql-semantics/src/Core/Binding/LiteralBinder.php:35
- method-call SqlSemantics\Core\Binding\LiteralBinder::typeName() packages/sql-semantics/src/Core/Binding/LiteralBinder.php:51
- method-call SqlSemantics\Core\Binding\LiteralBinder::integer() packages/sql-semantics/src/Core/Binding/LiteralBinder.php:59
- method-call SqlSemantics\Core\Binding\TypeResolution::common() packages/sql-semantics/src/Core/Binding/TypeResolution.php:34
- method-call SqlSemantics\Core\Binding\TypeResolution::boolean() packages/sql-semantics/src/Core/Binding/TypeResolution.php:42
- method-call SqlSemantics\Core\Schema::__construct() packages/sql-semantics/src/Core/Schema.php:38
- method-call SqlSemantics\Core\Schema\Invariant::table() packages/sql-semantics/src/Core/Schema/Invariant.php:77
- method-call SqlSemantics\Core\Schema\Invariant::table() packages/sql-semantics/src/Core/Schema/Invariant.php:84
- method-call SqlSemantics\Core\SchemaBuilder::__construct() packages/sql-semantics/src/Core/SchemaBuilder.php:36
Test cases 22§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Other tests reaching this symbol 22
ColumnReaderTestcallsDialectParserTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsTypeReaderTestcallsBinderTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsNullFactsTestcallsProjectionBinderTestcallsScopeTestcallsSelectBinderTestcallsSelectModifiersBinderTestcallsPlatformTest::testParserAcceptsAnApplicationImplementationcallsNameRulesTest::testNameHonorsAnInjectedPolicycallsQueryRulesTest::testOrderingNodesHonorsAnInjectedPolicycallsSchemaRulesTest::testColumnNodesHonorsAnInjectedPolicycallsTypeRulesTest::testCanonicalHonorsAnInjectedPolicycallsSchemaBuilderTestcallsSchemaTestcalls
Relations§
Implemented by 3
Method calls 25
- method-call SqlSemantics\Core\Analysis\Analyzer::__construct() packages/sql-semantics/src/Core/Analysis/Analyzer.php:29
- method-call SqlSemantics\Core\Analysis\SchemaAnalyzer::__construct() packages/sql-semantics/src/Core/Analysis/SchemaAnalyzer.php:29
- method-call SqlSemantics\Core\Analysis\SchemaAnalyzer::read() packages/sql-semantics/src/Core/Analysis/SchemaAnalyzer.php:58
- method-call SqlSemantics\Core\Ast\DialectParser::__construct() packages/sql-semantics/src/Core/Ast/DialectParser.php:25
- method-call SqlSemantics\Core\Ast\Identifiers::name() packages/sql-semantics/src/Core/Ast/Identifiers.php:30
- method-call SqlSemantics\Core\Ast\Identifiers::equal() packages/sql-semantics/src/Core/Ast/Identifiers.php:53
- method-call SqlSemantics\Core\Ast\Identifiers::relationEqual() packages/sql-semantics/src/Core/Ast/Identifiers.php:61
- method-call SqlSemantics\Core\Ast\StatementList::read() packages/sql-semantics/src/Core/Ast/StatementList.php:24
- method-call SqlSemantics\Core\Ast\StatementList::read() packages/sql-semantics/src/Core/Ast/StatementList.php:25
- method-call SqlSemantics\Core\Ast\StatementList::read() packages/sql-semantics/src/Core/Ast/StatementList.php:28
- method-call SqlSemantics\Core\Ast\TypeReader::read() packages/sql-semantics/src/Core/Ast/TypeReader.php:30
- method-call SqlSemantics\Core\Ast\TypeReader::canonical() packages/sql-semantics/src/Core/Ast/TypeReader.php:38
- method-call SqlSemantics\Core\Ast\TypeReader::affinity() packages/sql-semantics/src/Core/Ast/TypeReader.php:46
- method-call SqlSemantics\Core\Binding\ExpressionRules::call() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:41
- method-call SqlSemantics\Core\Binding\ExpressionRules::arithmetic() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:108
- method-call SqlSemantics\Core\Binding\ExpressionRules::predicate() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:116
- method-call SqlSemantics\Core\Binding\LiteralBinder::bind() packages/sql-semantics/src/Core/Binding/LiteralBinder.php:35
- method-call SqlSemantics\Core\Binding\LiteralBinder::typeName() packages/sql-semantics/src/Core/Binding/LiteralBinder.php:51
- method-call SqlSemantics\Core\Binding\LiteralBinder::integer() packages/sql-semantics/src/Core/Binding/LiteralBinder.php:59
- method-call SqlSemantics\Core\Binding\TypeResolution::common() packages/sql-semantics/src/Core/Binding/TypeResolution.php:34
- method-call SqlSemantics\Core\Binding\TypeResolution::boolean() packages/sql-semantics/src/Core/Binding/TypeResolution.php:42
- method-call SqlSemantics\Core\Schema::__construct() packages/sql-semantics/src/Core/Schema.php:38
- method-call SqlSemantics\Core\Schema\Invariant::table() packages/sql-semantics/src/Core/Schema/Invariant.php:77
- method-call SqlSemantics\Core\Schema\Invariant::table() packages/sql-semantics/src/Core/Schema/Invariant.php:84
- method-call SqlSemantics\Core\SchemaBuilder::__construct() packages/sql-semantics/src/Core/SchemaBuilder.php:36
Type declarations 21
- type SqlSemantics\Platform\MySql\Platform packages/sql-semantics-mysql/src/Platform.php:25
- type SqlSemantics\Platform\MySql\TypeRules packages/sql-semantics-mysql/src/TypeRules.php:27
- type SqlSemantics\Platform\PostgreSql\Platform packages/sql-semantics-postgres/src/Platform.php:24
- type SqlSemantics\Platform\PostgreSql\TypeRules packages/sql-semantics-postgres/src/TypeRules.php:29
- type SqlSemantics\Platform\Sqlite\Platform packages/sql-semantics-sqlite/src/Platform.php:24
- type SqlSemantics\Platform\Sqlite\TypeRules packages/sql-semantics-sqlite/src/TypeRules.php:25
- type SqlSemantics\Core\Analysis\Analyzer packages/sql-semantics/src/Core/Analysis/Analyzer.php:26
- type SqlSemantics\Core\Analysis\SchemaAnalyzer packages/sql-semantics/src/Core/Analysis/SchemaAnalyzer.php:27
- type SqlSemantics\Core\Ast\DialectParser packages/sql-semantics/src/Core/Ast/DialectParser.php:23
- type SqlSemantics\Core\Ast\Identifiers packages/sql-semantics/src/Core/Ast/Identifiers.php:21
- type SqlSemantics\Core\Ast\StatementList packages/sql-semantics/src/Core/Ast/StatementList.php:22
- type SqlSemantics\Core\Ast\TypeReader packages/sql-semantics/src/Core/Ast/TypeReader.php:21
- type SqlSemantics\Core\Binding\ExpressionRules packages/sql-semantics/src/Core/Binding/ExpressionRules.php:26
- type SqlSemantics\Core\Binding\LiteralBinder packages/sql-semantics/src/Core/Binding/LiteralBinder.php:24
- type SqlSemantics\Core\Binding\TypeResolution packages/sql-semantics/src/Core/Binding/TypeResolution.php:24
- type SqlSemantics\Core\Schema packages/sql-semantics/src/Core/Schema.php:29
- type SqlSemantics\Core\Schema\Invariant packages/sql-semantics/src/Core/Schema/Invariant.php:72
- type SqlSemantics\Core\SchemaBuilder packages/sql-semantics/src/Core/SchemaBuilder.php:34
- type SqlSemantics\Core\Type\TypeDescriptor packages/sql-semantics/src/Core/Type/TypeDescriptor.php:29
- type SqlSemantics\Facade\Schema packages/sql-semantics/src/Facade/Schema.php:29
- type SqlSemantics\Facade\Semantics packages/sql-semantics/src/Facade/Semantics.php:29