classBranchTokens
final class BranchTokens
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Branch tokens operations for PostgreSQL merge.
Methods§
public function keywordIndexAfter(
list<SqlToken> $tokens,
string $keyword,
SqlToken $anchor,
): ?intReturns
?intTest cases 1
public function lastKeywordBetween(
list<SqlToken> $tokens,
string $keyword,
SqlToken $start,
SqlToken $end,
): ?SqlTokenReturns
Test cases 1
Test cases 16§
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 12
PgSqlSessionFactoryTestcallsPgSqlRewriterTestcallsStatementRewriterTestcallsMatchConditionsTestcallsRowActionsTestcallsMergeTransformerTestcallsPgSqlTransformerTestcallsRowMutationResolverTestcallsPgSqlMutationResolverTestcallsActionClauseTestcallsPgSqlMergeParserTestcallsStatementPartsTest::testClausesParsesEachBranchActioncalls
Relations§
Instantiated in 4
- new ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause::parseClause() packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:44
- new ZtdQuery\Platform\Postgres\Sql\Merge\StatementParts::target() packages/ztd-query-postgres/src/Sql/Merge/StatementParts.php:53
- new ZtdQuery\Platform\Postgres\Sql\Merge\StatementParts::join() packages/ztd-query-postgres/src/Sql/Merge/StatementParts.php:70
- new ZtdQuery\Platform\Postgres\Sql\Merge\StatementParts::join() packages/ztd-query-postgres/src/Sql/Merge/StatementParts.php:75
Method calls 4
- method-call ZtdQuery\Platform\Postgres\Sql\Merge\ActionClause::parseClause() packages/ztd-query-postgres/src/Sql/Merge/ActionClause.php:44
- method-call ZtdQuery\Platform\Postgres\Sql\Merge\StatementParts::target() packages/ztd-query-postgres/src/Sql/Merge/StatementParts.php:53
- method-call ZtdQuery\Platform\Postgres\Sql\Merge\StatementParts::join() packages/ztd-query-postgres/src/Sql/Merge/StatementParts.php:70
- method-call ZtdQuery\Platform\Postgres\Sql\Merge\StatementParts::join() packages/ztd-query-postgres/src/Sql/Merge/StatementParts.php:75