interface Platform
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.

The concrete parsing and semantic behavior required by core binding.

Methods§

public function parser(?string $version = null): SqlParser

Configures a parser for the requested release.

Parameters

$version?string

Returns

SqlParser
public function values(string $version): ValueReader

Supplies statement construction data for the resolved grammar release.

Parameters

$versionstring
public function defaultSchema(): string

Supplies the unqualified declaration namespace.

Returns

string
public function statementNames(): array{string, string}

Returns

array{string, string} Root and statement grammar names
public function syntax(): SyntaxRules

Supplies the configured grammar vocabulary.

public function names(): NameRules

Supplies identifier semantics.

Returns

public function types(): TypeRules

Supplies scalar type semantics.

Returns

public function schema(): SchemaRules

Supplies declaration syntax and constraint semantics.

public function query(): QueryRules

Supplies query syntax interpretation.

Returns

Test cases 13§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 8
Other tests reaching this symbol 5

Relations§

Implemented by 3
Type declarations 4