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

Recognizes ASCII token boundaries and operand-expecting keywords for PDO.

Methods§

public static function keywordExpectsOperand(string $keyword): bool
public static function isIdentifierContinuation(string $char): bool
public static function isEscapeStringStart(string $sql, int $quotePosition): bool

Is escape string start.

Parameters

$sqlstring
$quotePositionint

Returns

bool
Test cases 1
Called from 1
Calls 4
public static function dollarQuoteDelimiter(string $sql, int $position): ?string

Dollar quote delimiter.

Parameters

$sqlstring
$positionint

Returns

?string
Test cases 1
Called from 1
Calls 4

Test cases 10§

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

Dedicated tests 5
Other tests reaching this symbol 5

Relations§

Static calls 4