final class StatementKindReader
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Reads what a statement does from the keyword it leads with.

Methods§

public function __construct(?SqlLexer $lexer = null)

Builds a reader over the shared lexer.

Parameters

$lexer?SqlLexer
Calls 1

Private surface 2§

Implementation details, listed for orientation only.

private const KEYWORDS = ['SELECT' => \SqlCatalog\Core\Sql\StatementKind::Select, 'TABLE' => \SqlCatalog…
private SqlLexer $lexer

Test cases 10§

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

Dedicated tests 3
Other tests reaching this symbol 7

Relations§

Instantiated in 1
Method calls 2
Type declarations 2