classExpressionCursor
final class ExpressionCursor
Restricted visibility: declared "@visibility ZtdQuery\Platform\Sqlite". Code outside that scope must not name this declaration.
Shares the token position across precedence levels of one expression parse.
Properties§
public int $index = 0Index of the next unconsumed significant token.
public string $sqlpublic string $tableNamepublic list<SqlToken> $tokensMethods§
Test cases 21§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 20
SqliteRewriterTestcallsStatementRewriterTestcallsArithmeticExpressionParserTest::testParseAdditiveHonorsMultiplicationPrecedencecallsArithmeticExpressionParserTest::testParseMultiplicativeConsumesDivisionAndRemaindercallsArithmeticExpressionParserTest::testParseUnaryConsumesNestedSignscallsArithmeticExpressionParserTest::testParseUnaryNotUsesSqlTruthcallsComparisonExpressionParserTest::testComparisonOperatorConsumesBothSymbolscallsComparisonExpressionParserTest::testParseComparisonEvaluatesNotEqualcallsLogicalExpressionParserTest::testParseAndCombinesComparisonscallsLogicalExpressionParserTest::testParseOrHonorsAndPrecedencecallsPrimaryExpressionParserTest::testColumnSourceDistinguishesTableAndExcludedcallsPrimaryExpressionParserTest::testColumnSourceRejectsUnrelatedQualifierscallsPrimaryExpressionParserTest::testParseColumnSelectsIncomingRowcallsPrimaryExpressionParserTest::testParsePrimaryDecodesStringLiteralcallsPrimaryExpressionParserTest::testParsePrimaryEvaluatesParenthesizedExpressioncallsPrimaryExpressionParserTest::testParsePrimaryPreservesNullcallsSqliteUpsertExpressionParserTestcallsInsertMutationResolverTestcallsSqliteMutationResolverTestcallsSqliteSessionFactoryTestcalls
Relations§
Instantiated in 1
Type declarations 4
- type ZtdQuery\Platform\Sqlite\Shadow\Mutation\Upsert\ArithmeticExpressionParser packages/ztd-query-sqlite/src/Shadow/Mutation/Upsert/ArithmeticExpressionParser.php:20
- type ZtdQuery\Platform\Sqlite\Shadow\Mutation\Upsert\ComparisonExpressionParser packages/ztd-query-sqlite/src/Shadow/Mutation/Upsert/ComparisonExpressionParser.php:20
- type ZtdQuery\Platform\Sqlite\Shadow\Mutation\Upsert\LogicalExpressionParser packages/ztd-query-sqlite/src/Shadow/Mutation/Upsert/LogicalExpressionParser.php:20
- type ZtdQuery\Platform\Sqlite\Shadow\Mutation\Upsert\PrimaryExpressionParser packages/ztd-query-sqlite/src/Shadow/Mutation/Upsert/PrimaryExpressionParser.php:21