classQuotedSpan
final class QuotedSpan
Restricted visibility: declared "@visibility ZtdQuery\Platform\Sqlite". Code outside that scope must not name this declaration.
Measures quoted SQL spans without treating their contents as syntax.
Methods§
public static function quotedLength(string $sql, string $quote): intMeasures quoted SQL spans without treating their contents as syntax.
Parameters
$sql | string | |
$quote | string |
Returns
intTest cases 1
Called from 3
- static-call ZtdQuery\Platform\Sqlite\Sql\Lexing\ExpressionSpan::end() packages/ztd-query-sqlite/src/Sql/Lexing/ExpressionSpan.php:24
- static-call ZtdQuery\Platform\Sqlite\Sql\Lexing\OpaqueSqlSpan::length() packages/ztd-query-sqlite/src/Sql/Lexing/OpaqueSqlSpan.php:28
- static-call ZtdQuery\Platform\Sqlite\Sql\SqliteLexicalMasker::maskComments() packages/ztd-query-sqlite/src/Sql/SqliteLexicalMasker.php:26
public static function bracketQuotedLength(string $sql): intMeasures quoted SQL spans without treating their contents as syntax.
Parameters
$sql | string |
Returns
intTest cases 1
Called from 1
Test cases 37§
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 35
ReferencedTableLookupTestcallsMatchExpressionRewriterTestcallsSqliteFullTextSearchRewriterTestcallsSqliteQueryGuardTestcallsSqliteRewriterTestcallsStatementRewriterTestcallsDeleteTransformerTestcallsInsertProjectionBuilderTestcallsInsertTransformerTestcallsSelectTransformerTestcallsSqliteTransformerTestcallsUpdateTransformerTestcallsColumnDefinitionParserTestcallsTableBodyParserTestcallsTableDefinitionBuilderTestcallsVirtualTableParserTestcallsSqliteSchemaParserTestcallsAddColumnResolverTestcallsInsertMutationResolverTestcallsRowMutationResolverTestcallsTableMutationResolverTestcallsSqliteMutationResolverTestcallsAssignmentParserTestcallsValueListParserTestcallsInsertClauseParserTestcallsExpressionSpanTestcallsLiteralMaskerTestcallsOpaqueSqlSpanTestcallsTopLevelKeywordScannerTestcallsSqliteLexicalMaskerTestcallsSqliteParserTestcallsStatementClassifierTestcallsStatementStructureTestcallsTargetTableParserTestcallsSqliteSessionFactoryTestcalls
Relations§
Static calls 4
- static-call ZtdQuery\Platform\Sqlite\Sql\Lexing\ExpressionSpan::end() packages/ztd-query-sqlite/src/Sql/Lexing/ExpressionSpan.php:24
- static-call ZtdQuery\Platform\Sqlite\Sql\Lexing\OpaqueSqlSpan::length() packages/ztd-query-sqlite/src/Sql/Lexing/OpaqueSqlSpan.php:28
- static-call ZtdQuery\Platform\Sqlite\Sql\SqliteLexicalMasker::maskComments() packages/ztd-query-sqlite/src/Sql/SqliteLexicalMasker.php:26
- static-call ZtdQuery\Platform\Sqlite\Sql\SqliteLexicalMasker::maskComments() packages/ztd-query-sqlite/src/Sql/SqliteLexicalMasker.php:34