classKeywords
final class Keywords
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
The words the SQLite tokenizer reads as keywords.
Every keyword is treated as unusable for a bare name, including those the parser would accept as a fallback identifier, so a bare spelling never depends on the position it is written at.
Methods§
public function reserved(string $word): boolTells whether a word is a keyword, compared without regard to ASCII case.
Parameters
$word | string |
Returns
boolTest cases 3
Called from 2
Calls 6
- method-call VersionRegistry::resolve() line 32
- new VersionRegistry line 32
- function-call
is_arrayline 33 - function-call
array_keysline 36 - function-call
strtoupperline 37 - function-call
strtrline 45
Private surface 1§
Implementation details, listed for orientation only.
private static array<string, true>|null $words = nullTest cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.