classKeywordForm
final class KeywordForm
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Keyword form operations for PostgreSQL transaction.
Methods§
public function matchesAny(list<SqlToken> $tokens, list<list<string>> $forms): boolParameters
$tokens | list<SqlToken> | |
$forms | list<list<string>> |
Returns
boolTest cases 1
Called from 3
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:26
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:29
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:32
Calls 1
- method-call KeywordForm::matches() line 24
public function nameAfter(list<SqlToken> $tokens, list<list<string>> $prefixes): ?stringParameters
$tokens | list<SqlToken> | |
$prefixes | list<list<string>> |
Returns
?stringTest cases 1
Called from 3
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:35
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:39
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:43
Calls 7
- function-call
countline 39 - method-call KeywordForm::matches() line 39
- function-call
array_sliceline 39 - function-call
in_arrayline 43 - class-const SqlTokenKind::Word() line 43
- class-const SqlTokenKind::QuotedIdentifier() line 43
- method-call KeywordForm::unquote() line 47
public function matches(list<SqlToken> $tokens, list<string> $keywords): boolpublic function unquote(string $identifier): ?stringUnquote.
Parameters
$identifier | string |
Returns
?stringTest cases 1
Called from 1
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 4
Other tests reaching this symbol 3
Relations§
Instantiated in 6
- new ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:26
- new ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:29
- new ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:32
- new ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:35
- new ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:39
- new ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:43
Method calls 6
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:26
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:29
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:32
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:35
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:39
- method-call ZtdQuery\Platform\Postgres\Sql\Transaction\PgSqlTransactionStatementParser::parse() packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:43