classKeywordList
final class KeywordList
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Extracts the keyword table from PostgreSQL's src/include/parser/kwlist.h.
Methods§
public function parse(string $source): array{keywords: array<string, string>}Reads the keyword table.
Parameters
$source | string | Contents of `kwlist.h` |
Returns
array{keywords: array<string, string>} Terminal name by upper-cased keywordThrows
RuntimeException When the file declares no keywordTest cases 2
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.