classAttachTokens
final class AttachTokens
Restricted visibility: declared "@visibility ZtdQuery\Platform\Sqlite". Code outside that scope must not name this declaration.
Recognizes the identifier and punctuation suffix of an ATTACH statement.
Methods§
public static function isIdentifierSuffix(list<SqlToken> $tokens, int $index): boolParameters
$tokens | list<SqlToken> | |
$index | int |
Returns
boolTest cases 1
Called from 1
Calls 5
- function-call
countline 24 - class-const SqlTokenKind::Word() line 28
- static-call SqliteLexerProfile::create() line 31
- function-call
str_starts_withline 35 - static-call SqlTokenStream::tokenize() line 38
public static function isSymbol(SqlToken $token, string $symbol): boolRecognizes the identifier and punctuation suffix of an ATTACH statement.
Parameters
$token | SqlToken | |
$symbol | string |
Returns
boolTest cases 1
Called from 1
Calls 1
- class-const SqlTokenKind::Symbol() line 50
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 5
SqliteQueryGuardTestcallsSqliteRewriterTestcallsStatementRewriterTestcallsSqliteInMemoryAttachStatementTestcallsSqliteSessionFactoryTestcalls
Relations§
Static calls 2
- static-call ZtdQuery\Platform\Sqlite\Sql\Attach\SqliteInMemoryAttachStatement::isSafe() packages/ztd-query-sqlite/src/Sql/Attach/SqliteInMemoryAttachStatement.php:22
- static-call ZtdQuery\Platform\Sqlite\Sql\Attach\SqliteInMemoryAttachStatement::isSafe() packages/ztd-query-sqlite/src/Sql/Attach/SqliteInMemoryAttachStatement.php:45